zig-help

21196 threads · Page 196 of 424

Wrong type hint in for loop by reference 7 messages
Answered
panic: artifact name is ambiguous 6 messages
Build System Compiler Answered 0.13.x
formatiing 6 messages
Answered
Will the following lead to performance overhead? 27 messages
Answered
Passing multidimensional arrays as arguments? 19 messages
Do I need to clone a string when using `StringArrayHashMap`? 21 messages
How do we make sure `export fn` match C header prototypes? 29 messages
Answered
zig.vim unreadable ast-check errors 9 messages
Answered
[solved] Error parsing a JSON array 14 messages
New User Standard Library Answered 0.13.x
[solved] Prepend to ArrayList(u8) 9 messages
New User Standard Library Answered 0.13.x
Initialize `WaitGroup` to a certain value 4 messages
Standard Library 0.13.x
zls no help 8 messages
Answered
Extern structs can't contain []const u8 8 messages
Answered
Tests not running? 30 messages
Compiler New User 0.13.x Build System Answered
Disable safety checks for integer overflow in C code 4 messages
Answered
assign to comptime field 4 messages
Answered
note: error union payload '[]u8' cannot cast into error union payload '?[]u8' 9 messages
manual interrupts 55 messages
Answered
comptime-initialised map 12 messages
Answered
Recreate enum field value from type info 3 messages
Answered
What is the overhead of null? 50 messages
reference question 8 messages
comptime hash strings of hashmap? 22 messages
Error: Integer Overflow with allocator 23 messages
Docs are wrong? 3 messages
Answered
[solved] Understanding Dir and File 65 messages
Answered
saturating operations between incompatible types 5 messages
Answered
Operations with packed structs? 20 messages
0.14.x New User Answered
Discord Wrapper 2 messages
Answered 0.13.x
Is there a way to return errors from a block instead of a function using try? 7 messages
0.14.x Answered
Cant understand why my variable is constant 2 messages
Answered
Defining strings at compile time from CLI 33 messages
Answered
Ziglings build error 4 messages
Build System New User
comptime fields 13 messages
New User Answered 0.13.x
Most up-to-date resource on interface patterns 2 messages
Answered 0.13.x
Initializing a heap-allocated large struct 16 messages
How to link two (or more) static libraries together? 12 messages
Build System 0.13.x
How to assert that something is undefined? 13 messages
0.14.x Answered
Given a `type` of some `std.ArrayList(T)`, how do I extract the type `T` of the inner item? 3 messages
Answered
Packed struct size 5 messages
0.14.x New User Answered 0.13.x
Does -fsanitize=address work with zig cc (windows) 23 messages
Working on optimizing binarySearch, struggling to avoid branches 6 messages
[solved] How to remove a list of items from an ArrayList 52 messages
Answered
is there an easy way to create a temporary file using std? 9 messages
How should I structure a library? 5 messages
Answered
[solved] Sending a message to a Discord Hook: http get/post 6 messages
Answered
Slicing an array of const pointers 3 messages
accessing ORIGIN(SRAM) from GDB giving random values 4 messages
in a test "error: error union is ignored" 3 messages
New User Answered 0.13.x
[solved] Match everything inside "" after the last = of a []const u8 93 messages
New User Standard Library Answered 0.13.x