zig-help
Compiler is being silly
Compiler
Can you use @field to set members of a struct during construction
Answered
0.13.x
is a for loop the only way to compare vectors?
New User
addModule not working: error: no field or member function named 'create' in 'Build.Module'
Answered
Ziglings 24 Return Return Return
How do you use fetch properly?
0.14.x
New User
Answered
how to store function as key in hashmap
0.14.x
Answered
Is there a countScalar function?
0.14.x
Standard Library
Answered
More idiomatic way for iterate over Hashmaps.
Answered
Zig thinks an integer is u2?
Answered
How do folders and files work with import()?
Extern function from .so stays undefined even though so is showing up in ldd output
Answered
error: no field named 'struct' in union 'builtin.Type'
[solved] errdefer when there is no error
Answered
what does this mean
0.14.x
Answered
Execute file from package dependency
Build System
Answered
how can i initialize this with a single value?
0.14.x
Answered
Help understanding @alignCast and @ptrCast?
Why is my random number generator not fast enough in 2 different calls?
0.14.x
Standard Library
New User
When i try to import scanf from @cImport it shows
New User
Answered
Struct and Array Syntax confusion
0.14.x
Compiler
is converting parameters to a const pointer bad?
New User
How to pass a hashmap into a function ?
Answered
Implementing ThreadPerTaskExecutor (I'm from java background)
Standard Library
New User
Zig build CPP compilation
Build System
New User
Answered
Zig-Extension for Zed and zls problems
Answered
Implementing an Executor Interface in Zig – Seeking Guidance on Compile-Time Error
New User
File Reading Into Struct
Struct Syntax
New User
OpenGL: Error 1282 with vertexAttribPointer using zig-gamedev zopengl library
New User
Answered
0.13.x
why am i getting different values
0.14.x
Answered
Is there a way display errors in a more compact way?
New User
how to add to [][]const u8
MacOS Sonoma - unable to find libSystem system library (0.13.0)
Build System
Compiler
Answered
0.13.x
Conditionally supplying default value
Importing raylib-zig
New User
Answered
0.13.x
why is this the same
Answered
Printing two different things?
Answered
Can I run the zig compiler from a running (not comptime) zig program?
Problems Linking WGPU
Help dealing with an OutOfMemory error
Standard Library
New User
0.13.x
Types not matching?
Answered
"FileNotFound" on cache directory during build
[solved] Error: expected Type found enum_literal
Answered
i found a failing code in zig docs
Answered
what is the difference between these two structs?
New User
0.13.x
How to ensure that a step is run after some particular step
Build System
0.14.x
Answered
build.zig.zon hash mismatch
Answered
best way to cast slice's pointer to array pointer
Answered
how do i assign a tagged union to a field of a struct