zig-help

21196 threads · Page 157 of 424

Compact repetitive code 32 messages
0.14.x Answered
Build with two targets shows errors twice 8 messages
Build System Answered 0.13.x
how to change code at comptime depending on build parameters 3 messages
Answered
Sqlite data structure problems with All? 11 messages
How error messages work? (+ Adding custom errors for common cases) 2 messages
Auto expanding heap write 37 messages
Standard Library
Build errors with Sqlite (0.13) 11 messages
Answered
Why these pointers are different? 20 messages
Answered
How to run artifact with a different working directory 3 messages
Build System Answered 0.13.x
Trying to install this on m1, finding it difficult to understand the file structure of Zig 5 messages
hashmap custom context 33 messages
Answered
`dmon` module to monitor changes in directories 6 messages
Span array until zeros (structs) 12 messages
Answered
Comptime-only fn pointer depends on runtime control flow 20 messages
Compiler Answered 0.13.x
Using Vulkan Memory Allocator in project 2 messages
Build System
get size of a cache line 3 messages
Answered
Valid Json has Invalid Character 81 messages
Answered
The stability of the tag enum of a tagged union 9 messages
Answered
What's the point of having a void in a union 6 messages
Answered
Why can i not access this field of a struct 15 messages
What's the most efficient way to "empty an ArrayList"? 7 messages
Memory not allocated for StringHashMap 6 messages
Answered
how would i go about creating an arraylist of strings? 25 messages
Create a struct thread with a reference to itself and return it from a function 15 messages
0.14.x New User 0.13.x
Finish simple unzip of a .gz 27 messages
Answered
Using recently compiled static library in main.zig 7 messages
Build System New User Answered
Value changes after std.debug.print. 3 messages
Potential memory corruption in wasm (wasi/wasm32) for a plugin running in wasm host in envoy 2 messages
http.Request.respondStreaming alters the .target property. 2 messages
runtime function call 10 messages
freeing memory at a []u8 142 messages
Including python and numpy 2 messages
Answered
help 16 messages
segfault. Returning `arraylist.items` should be a slice `[]u8` but is a pointer? 28 messages
Answered 0.13.x
Link local library 4 messages
Build System New User Answered 0.13.x
solved: build.zig adds -fno-emit-bin when i dont want it to 8 messages
FAIL (NotOpenForWriting) 2 messages
New User Answered
Tagged union working in 0.12 but not 0.14 4 messages
How do I deal with "unwind information not available"? 4 messages
New User Answered 0.13.x
Memory leak :( 7 messages
New User
Design Generic Struct 14 messages
Answered
error: expected type '[]u8', found '[]const u8' 21 messages
Why is std.mem.eql considered bad? 25 messages
Answered
Can i use type enum as an argument, passed to comptime Type function? 9 messages
Can I use zigs without declaring types at all? 38 messages
Answered
something related to zig threading and threadpools 17 messages
How to capture a single keystroke without hitting Enter? 3 messages
New User Answered 0.13.x
How to make zig build compile the exe at the last step? 27 messages
Answered 0.13.x
Need help sending packet through raw socket 23 messages
Standard Library New User Answered
Given 2 same size boolean vectors, is & a valid operation? 6 messages