zig-help
simple program with 2 threads doesn't work
Standard Library
Answered
0.13.x
printing in console
Answered
Dependency Loop Detected
Detect whether libc is linked, from C code or build.zig
Answered
How to get Aligned Vector reads from slices
New User
Answered
Is there a directive to tell the compiler that a condition is true most of the time?
Compiler
New User
Answered
Cast atomic(enum(u32)) to atomic(u32)
Zig equivalent of SIMD mask functions in C (_mm256_cmpeq_epi8 etc)
New User
Answered
trying to use the luazig lib and I am having an issue adding to my project
Compiler
0.13.x
wasm function works in debug compile but becomes an infinite loop when compiled as ReleaseSmall
New User
What is the idiomatic way to have different host machine dependencies?
Answered
thread safe concept
std set operations (on slices)
Standard Library
New User
Can zig optionally fetch dependencies with build.zig.zon
Answered
error: else prong required when switching on type 'type'
Answered
error: expected type '[][]bool', found '*[3][3]bool'
New User
0.13.x
how could i add modules in the new way
Answered
How feasible will statically compiling these libs be with zig for godot?
Answered
Struct instances as members of another struct and lifetimes
0.11.x
New User
Answered
Pass reference to an array (or slice)
When one of the arguments is function pointer and that function has comptime argument - error
SourceLocation of a given struct
Build in Release mode with debug symbols?
Compiler
0.13.x
windows.h not found
Answered
Common testing practices / How do tests compile in zig?
Convince "try" to accept a non-error value
Answered
How do I spawn a thread that can error using a ThreadPool?
Answered
0.13.x
union depends on itself
Answered
0.13.x
usize multiplication with bad result
question about library conventions and std.json quirks
Answered
Can translate-c keep #import'd files as separate modules?
0.11.x
New User
Answered
Is windows mingw statically linked by zig?
Answered
Compute type of expression of multiple anytype values?
Answered
[Zig Build] How to make a custom directory in `zig-out` and get absolute path to it
Answered
Cannot wrap my head around zls in vim/nvim
Answered
New User
0.13.x
Trying to read a simple txt file in ZIG
Strange errors about using var or const to declare a (already existing) variable.
0.11.x
New User
Answered
On Windows can I work with wsl + emacs to build and run native windows executables?
Answered
Downsides of inlining vtable in interface
How to call `std.Build.Module.addCMacro`?
Standard Library
0.11.x
New User
Answered
Ziglings comptime7 error
0.13.x
What is the best way to learn zig?
New User
Answered
Interfaces and struct member variables
How do I wait on a reader _without_ blocking?
Answered
How do i compile Zig to WASM?
Help me understand Arraylist and memory allocation
New User
Answered
Error during build regarding build.zig file
What's a better way to iterate an arraylist while potentially removing elements?
Standard Library
0.11.x
New User
Answered
Non-const pointer to a temporary
Answered
How to make this loop more DRY?