zig-help
Need help with converting a makefile
Custom Safety Checks?
Answered
Installing Zig via Homebrew.
What does the string after `extern` specify?
Answered
Init pattern footgun ?
using c unions
Answered
Why is this enum byte-sized 0?
Answered
How to free `*anyopaque` created by function `Allocator#create`
New User
What type to use for `std.builtin.Type.Enum.tag_type`?
Refactor Ideas?
Answered
Deadlock error while printing
New User
Answered
Assign a Variable the Return Value of a Function
Answered
Concatinating string
Idea: not-so-dynamic dispatch
Build failure with zig-pdk in a wasm library.
truncate a std.fs.File? O_TRUNC equivalent?
Answered
Stage4 compiler is unable to compile anything
Compiler
0.13.x
Programmatically create a packed struct type which C-ABI compatible
Answered
cannot format error union without a specifier (i.e. {!} or {any})
Zig crashes on calling libusb_init
Query cpu features at runtime
Standard Library
Compiler
Build zig statically, locally
Figuring out the u8 array stuff
How to use std.debug.panic?
New User
Answered
Building Zig compiler for old OSX machine
Iterate fields at runtime
Answered
Set/clear a bit
Zig Tagged Union doesn't seem to work as I expected
0.10.x
Compiler
New User
Answered
zig build run: error unable to spawn ... FileNotFound
chained comparison
'c' has no member named 'TCP'
Standard Library
ignore queued input from stdin
Answered
using command line arguments
New User
Answered
Zig CI failed, where can I find a older zig and zls version that works?
Dynamic union creation
error: no field or member function named 'getLastOrNull' in 'array_list.ArrayListAligned(u8,null)'
Missing defines and other errors in generated header file
Stack trace for Compile Errors?
0.13.x
AutoHashMap.count() gets garbled if I use the allocator for something else.
New User
Answered
Unable to cross-compile a Windows 32-bits DLL
0.10.x
Compiler
New User
The encoding strategy and how to retrieve type specific data without a switch?
How suitable is `std` for learning what *idiomatic* Zig is?
Answered
Proper way to loop through a @typeInfo []StructField?
New User
0.13.x
Runtime string formatting
UEFI Heap allocation seems not to work anymore
Standard Library
0.13.x
problem in comparison
New User
Answered
How to use `std.mem.concat`
New User
Answered
append on ArrayList throwing error
New User
Answered
Compilation errors caused by Zigmod
Answered
Where is a struct returned with ampersand allocated?
Answered