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