zig-help
comptime ability to include or exclude block of code from the build
Multi-Compliation
String Compare
Answered
[SOLVED] Learning zig version 0.12.0 : purpose of root.zig ?
Answered
Package dependencies location
Answered
free only part of an array
Linking a local compiled SDL2
how to store json in struct
using packages in build.zig
Answered
How to import CPP project FTXUI in zig
Are pointer that are created in loops not reinitialized in each run?
is it intended behavior for errored threads to not crash the process?
Standard Library
Despite addIncludePath, file can't be found
New User
0.12.x
how zig powerful than odin
How to use wchar_t in Zig
0.11.x
Answered
Allocation function's ret_addr usage
Answered
Why are the addresses different?
New User
Question about atomics
0.12.x
Zig struct meta data for fields
How to average u8/u16 @Vector?
Answered
Where does zig store cache files beside zig-cache and ~/.cache/zig?
Answered
Question
How to handle errors?
Emitting docs from build.zig
Standard Library
Compiler
0.12.x
error: no module named 'sqlite' available within module test
Array of arrays of string literals
Answered
unable to figure out memory leak
cImport failed from a zig dependencies with libc
ERROR: expected type 'cimport.struct_Color', found 'cimport.struct_Color'
Answered
error: non-matching @memcpy lengths
New User
Answered
0.12.x
Using raylib with zig
How to make a callback?
New User
Answered
0.12.x
weird problem with zig build not working
Issue with package managment.
New User
Answered
0.12.x
Pass argument to inline asm in naked function
Global-scoped Tagged Union value?
New User
Answered
Vectorized hash and godbolt output
Answered
How would one do sub-projects with build.zig
Compiler
New User
0.13.x
appendAssumeCapacity with struct
Answered
C like switch fallthrough
How to read buffer
Access sentinel value results in a segfault
What's the difference between `inline fn` and `callconv(.Inline)`
How to rewrite this C function in Zig?
0.13.x
pretty print library for data structure (ex: for type and comptime thingamajigs)
error: main module provided by both...
Different behavior from using Condition vs Semaphore
What causes Trace/breakpoint trap
Answered
Forcing zig to ignore lazy loading
0.11.x
`error: EndOfStream` when attempting to unpack a tar file