zig-help
Create anonymous struct with field at comptime
[14.0] expected type 'type', found '@Type(.enum_literal)'
0.14.x
Compiler
New User
Answered
Is it possible to build and run with --watch? I can only get it to work with build only
Build System
0.14.x
how would i read a file from the File type
Answered
division by zero here causes undefined behavior
Standard Library
Re: "Runtime polymorphism: why, how? - Alex Naskos"
zls error after updating to 0.14.0
Answered
How do I increase the default amount of WASM stack memory that Zig reserves?
Answered
0.13.x
can't get build on save to work
When using a packed struct as a bitfield, is there a way to set multiple fields at a time?
Answered
0.14 Zon update unable to find module
Build System
New User
How do we free events in event loop when working with xcb?
New User
Answered
0.13.x
Double Free detected error in deinit function. I am new to zig.
specifying cpu features in cli when using zig cc
correct way to compile a raylib project to wasm?
Build System
How to realize volatile flag in struct
after upgrading to 0.14.0, zig needs to fetch packages every time I compile
panic: 'usingnamespace' is not supported by incremental compilation
0.14.x
How to read stdout/stderr real-time command ouput using std.process.Child?
trying to pass a string with a length of 5 to a function
Answered
Zig tries to read a non-existing source file that isn't referenced anywhere
Answered
How to reference APIs from `root.zig` within `src/lib/` files
Is it really not possible to prevent a struct from being copied?
New User
Error Setting Up raylib-zig
New User
0.13.x
error: expected pointer type, found 'fn (*os.windows.HINSTANCE__opaque_25171, u32, ?*anyopaque) call
how to set up zig for nvchad
New User
Answered
how to make zls auto discard unused variables?
Brand new user trying to allocate
Standard Library
New User
Answered
StaticStringMap with 0.14.0?
Why doesn't Zig support non-English language coders?
Triggering make/cmake/ninja/bazel from build.zig
Answered
Not sure how im getting memory leaks
Answered
Help with understanding weird behavior in my code?
Answered
expected type '*S', found '*const S'
Standard Library
Compiler
How do I make "generic" function parameters without using `anytype`?
Answered
[solved] Can arrays be sentinel-terminated like slices?
0.14.x
New User
Answered
0.13.x
[solved] Learning to think about [*]T vs []T vs [N]T
0.14.x
Standard Library
Answered
0.13.x
Error on ZON after updating to 0.14
Build System
Anyone managed to setup nvim-dap adapter for Zig?
Answered
How can I use external files in tests?
New User
Answered
0.13.x
Why isn't the value of `token` changing?
0.14.x
New User
Answered
Using std.zon to parse build.zig.zon
[solved] Is it legal to return *const T from a function?
0.14.x
Standard Library
Answered
0.13.x
How to generate random numbers in 0.14?
Standard Library
Answered
Changed semantics of [*c] slices in 0.14?
When Zig 0.14 doesnt show where in your code you have an incorrect formatter?
How do you make a slice in 0.14 that works with utf8Decode?
How do you assign a placeholder empty string in zig 0.14?
segfault while trying to print
New User
Answered
0.13.x
InternPool's use of ArrayHashMapUnmanaged(void, void, ...)
Answered