zig-help
comptime and code generation
Answered
Constructing function at compile time
When to use packed structs for flags?
`@bitCast` for structs
Creating a switch case at compile time.
Quick type question
Answered
Weird Error when including a C header
Answered
0.13.x
`jmp` to a function stored in a zig array with asm
Weirdness with modifying things with For Loops
Answered
0.13.x
What is the difference of a many-item pointer [*]T and an Array [N]T?
Cross platform mmap in zig
Simple tuple usage
Answered
union create empty type
New User
0.13.x
Unable to unzip
Standard Library
0.11.x
New User
Well, I just don't understand
Standard Library
0.11.x
0.13.x
BoundedArray much slower than ArrayList
Is there a way to get the current Year and timezone from the std, without using libc ?
ARM builds failing with Illegal instruction in Sha256.hash
Compiler
0.13.x
Zig Build Accept Multiple Exit Code
Answered
Confused about the changes to `addAnonymousModule`
Answered
0.13.x
Trying to print lines from file
Standard Library
0.11.x
New User
Answered
Equivalent of `TestOptions.main_pkg_path` after recent build system changes
check at compile time if `zig test xyz.zig` is being run
using @call
Answered
File not found while importing (likely a skill issue)
Answered
Where is @call defined in the Zig source code?
[Beginner] Returning formatted strings - idiomatic sanity check
New User
Pointer to struct suddenly has garbage values
wrap std.debug.print
0.11.x
New User
[VSC Extension] Is it possible to change bracket style?
Answered
compare string
Answered
How to read the documentation properly
Format array as hex
struct casting from Zig to C ?
Answered
Free String allocated by malloc from C code
Answered
How best to add guarantees (if possible) for weird representation scenario
Answered
0.13.x
What's wrong with my linking?
build step for asset processing
comptime Equivalent to the `__COUNTER__ `macro?
Answered
How Can I Create a Window with the WinAPI?
What is the zig data structure I should use for O(n) checking if a key is present?
Answered
Optimize the memory of this struct
New User
How do I get struct info out of enums?
New User
Answered
0.13.x
Idiomatic variable length strings
New User
cast `[]?T` to `[]T`
New User
Answered
Return type of imported function is not pub
New User
0.13.x
Converting an array to a slice
Answered
enum member functions
New User
error: unable to find zig installation directory '/usr/local/bin/zig': FileNotFound
Print is changing all my enums