zig-help
ZLS failed to build
OS Dev barebones in Zig
New User
any helper function in std to append terminator into string
if statement containing only comptime variables ...
accept client in a for loop
file.write() crashes with error NotOpenForWriting
How would you rewrite this in zig?
New User
How do I call memmove?
Any way to determine (inferred) ErrorSet in error handling function?
New User
How can I run a Linux shell command in a function and return the output?
New User
Check if a file is empty?
Is there a way to make `std.json.stringify` encapsulate the resulting json object in `[ ]`?
What's the best way to create an `[*c]?*anyopaque` ?
is there a `std.fs.appendFile` or similar?
Standard Library
Setjmp, longjmp
linking to several libraries?
Why is this const?
(Array)HashMap overview
Standard Library
How to store values in an array and then return the content of the array in a function.
New User
Stage 2 compiler fails to compile with exit code 11?
Stack Traces on Windows not showing
Compiler
Compiler error with arrays in a generic type
Compiler
New User
c string arrays
Setting a comptime value in a struct
How can I make a struct field const
build test binary for another platform
typeInfo segfault with reified packed struct
Compiler
Can't build Zig on macOS (M1 Mac)
Any idea how to best detect if type is a string literal?
Run code after build finished
Standard Library
Compiler
read file
Standard Library
setjmp & longjmp
What is radix in the parseInt function arguments?
execute result of `zig build run` with sudo or doas
Does zig support emitting bitcode?
is there an endian-aware `std.mem.bytesToValue` that doesnt assume native?
How to set build_option from build Step
Constructing a value of type `void`?
How do interact with this C pattern (null pointer passing)?
Easiest way to get a framebuffer in Zig and software-render it?
What was the GitHub issue for this?
Compiler
how to compile two executables in separate build steps?
Is it possible to use arch-specific SIMD intrinsics directly from Zig?
Build zig error on MacOSX
Crash on latest Zig build
default allocator?
import types from other files
comptime vars with asm?
Idiomatic method to reference struct as a parent?
Standard Library
Something to do with environment variables