zig-help
how to iterate over fields of an enum at comptime
Answered
var of type []u8 to a bufferedWriter
Is optional chaining possible in version 0.12?
Answered
Flag to emit test binary in the current directory?
0.11.x
New User
Answered
error: expected type 'f64', found 'usize'
0.11.x
New User
predictable release timelines
Answered
Does zig honor defer deinits/frees on program interrupt (Ctrl+C)?
New User
What is the correct way to handle stdout?
Answered
What is the difference between triple combinations -target native VS native-native VS ...
Compiler
Answered
New User
0.13.x
expected type 'zig.CrossTarget', found 'zig.system.NativeTargetInfo'
0.11.x
Understanding removal from list in a while loop:
Answered
Sentinel (number of elements created)
Fail to trigger build for raylib from my project while moving build to zig
Field root_module not found in Build.Step.Compile
Standard Library
Compiler
0.11.x
New User
access of union field 'Pointer' while field 'Optional' is active
comptime verification
create print function that is compiled out if first argument doesnt match a list of valid values
New User
Building an array of strings for the files in a directoy
0.11.x
VSCode Zig debug points not hitting on Windows
How do I read a line from stdin?
Answered
How to use an already built Zig library (libfoo.a) inside a Zig project?
New User
Answered
0.13.x
union(enum) initialize to void
Use a different version of dependency based on zig version
Weird thing about "error union" while doing ziglings
Answered
Clap returns a weird error
0.11.x
New User
Answered
Type id function broke?
New User
Answered
0.13.x
Different ways to continue from parent loop
0.11.x
Get value for symbol
New User
Comptime Array size deduction
New User
Using both 0.11 and master
Answered
Best way to view asm of executable
Compiler
Answered
New User
0.13.x
error: Invalid record
Compiler
Answered
0.13.x
What is the diff b/w .read() and .readAll()?
@fieldParentPtr broken for zero-size-field unions?
What `linkSystemLibrary` does?
Modifying a const array, how is it possible?
Answered
for loop over custom data structure?
Understanding error messages (creating a LinkedList)
Is there backtick string in Zig?
Answered
Initializing an array to undefined the same as setting it to 0 memory?
When storing an allocator in a struct, should I store an allocator pointer or just the allocator?
Answered
What's the idiomatic way to fall back to a default value on error?
New User
Answered
Does Zig support anonymous struct or record?
Answered
Issues trying to read environ
0.11.x
[macOS] Statically linking results in libobjc linker error
0.11.x
New User
Check if OS is POSIX
Is there a way to import a zon dependency for use during the build process?
Modifying a const slice with var array
New User
zig nvim module help
New User
Answered
Generic struct with different fields depending on input + methods
0.11.x