zig-help
global variable contains reference to comptime var
Answered
Beej's Guide to Network Programming but in Zig
Storing a pointer to a writer
Standard Library
Answered
0.13.x
What is the layout of a zig binary? (aka. why is it so big?)
Issues with custom test_runner.zig code in popular `websocket.zig` lib.
Will this be supported in zig?
Volatile array with `std.mem.copyForwards`
Standard Library
Answered
0.13.x
forced ? syntax on optional
Answered
How to do defer only if no error?
0.14.x
New User
Answered
Wrapping a c function necessary to change signature?
0.13.x
Force compiler to generate specific access sizes only
Compiler
Answered
Can't find `stdio.h` when linking libc (freestanding)
Convert C Makefile to build.zig
Coerce empty multi-pointer to non-null optional
New User
Specify target in `build.zig`
0.14.x
can anyone help me with sdl?
Zig cc target wasm32-freestanding linking issue
0.13.x
packages that depend on packages?
Error while building C executable
How to make `zig build test` test all files instead of just main
Answered
How works `ArrayList([]const u8)`
Glfw surface function unable to allocate memory
percent-encoding Uri.query component in .raw missing percent-encoding?
Answered
Write to slice
Program crash with only self-hosted
Answered
How do you make a switch branch do nothing?
Answered
How to convert *error{OutOfMemory}![]u8 to *[]u8
How do you work around "zig save --fetch" not supporting ssh?
Answered
Possible to define C macros alongside installed headers?
Build System
0.14.x
AppConfig and TestConfig (for debugging)
New User
0.13.x
Zig build on save file
Answered
Not having interfaces, what is the simplest way to have a list of structs you can call `.draw()` on?
Grpc Zig
Thread-safe c_allocator
Standard Library
New User
How do I get the children and length of a folder in zig?
How to get program metadata like name and version?
Static constructors seem to be stripped?
New User
Compiler
Answered
0.13.x
How to unpact union?
New User
0.13.x
how to open a file?
Enum unknown at comptime
New User
0.13.x
Zig behavior
Migrating from 0.11 to 0.13 - `cimport.zig` error
0.11.x
Answered
0.13.x
Naming convenction for unwrapped value
New User
assertion failure spawning thread from function in zig library called by C executable
0.14.x
Standard Library
Answered
How do compile glfw as a lib for zig?
Statically link system libraries
Help with a scalar print function with width and precision as additional args?
Methods inside unions?
Answered
endianness at comptime
error: dependency on libc must be explicitly specified in the build command
Answered