zig-help
What's the bool equivalent of |=?
New User
Answered
Array initialization type mismatch
Undefined symbol errors trying to link with static libraries (libnss)
Build System
Compiler
0.12.x
For zig rc, how do I specify the cpu arch to build for?
Answered
Can I make `zig build run` run the program with Wine when I cross-compile Linux -> Windows?
Answered
Simple formatting of datetime without external library?
Answered
free memory allocated by a c lib
Answered
build C++ header only lib
Build System
Answered
Linking a shared library that's missing at linktime - possible?
Build System
New User
Answered
0.12.x
where to PR documentation change
Answered
0.13.x
Why is the size of my hashmap always zero?
Answered
0.13.x
using @memcpy to create own append buffer
New User
Answered
0.13.x
Ways to get by without main_mod_path in 0.12
Answered
Why is the `@SizeOf(type) == 0`?
Answered
dynamic struct assignment
Answered
How do I initialize this struct properly?
Answered
Is there a way to dynamically assemble types at comptime?
Answered
What is the problem, why should it not work>
Answered
Best practices to initialise something that is stored on the heap
Change bin output directory
Build System
Conditional implementation based on target OS
Answered
0.13.x
How to check type of a variable?
libvaxis - out of bounds error when printing
Any way to make this work?
check if two objects are the same object
Where does zig search for libc++? Does it build libc++ from from source like libc?
Answered
How to make the compiler shut up
Issue with emsdk + sokol + wasm and subcompilationfailed for libunwind libcxx libcxxabi
Build System
Compiler
0.12.x
fmt.bufPrint effect on array
Answered
Unions issue
"expected pointer type, found '@Vector(100, bool)'" when using "&"
New User
0.12.x
build.zig: how to depend a compilation on the execution of a previously compiled executable.
Answered
@TypeOf file struct field
Answered
0.12.x
system.ioctl replacment
Standard Library
0.13.x
Stuck trying to solve compile error in Zig fmt
int always casted to u3
New User
0.12.x
Why does type '[]i32' does not support array initialization syntax?
New User
0.12.x
Pointer -> single-item array pointer -> slice coercion (zigling 61)
Dividing a u64 into a []u8
0.12.x
how are libc's compiled with zig?
Answered
Storing values in error types
Answered
What is the best way to avoid extra compilation time from big modules
Build System
Zig package manager
0.13.x
How to specify custom libc for zig cc and zig c++?
Answered
Arraylist appending error
New User
Does the std lib support parsing json into a union type?
0.12.x
How to check whether a many-item pointer can access the i-th item?
New User
Forward build options from dependents
Answered
auto completion | nvim
C interop issues
Answered