zig-help
temporarely disable optimization for a piece of code
Use struct as a const map
exclusive load/store and bitfields
0.10.x
New User
Ranges question
comptime interface annotation
Answered
disallow loop unrolling
Answered
Performance issue with my zig code
New User
0.13.x
Strange behavior
Answered
Optionals overhead
[resolved] nix: unable to build lib with an attached module on zig master
Standard Library
0.13.x
C string hash map fails to retrieve value using runtime key
Answered
Temporary lifetime
New User
Answered
sparse array of optionals
New User
Answered
How do I add a custom "rule" in build.zig to deal with building non zig stuff?
New User
Answered
0.13.x
When and how is builtin.zig generated ?
comptime function generation?
module vs. dependency?
Container of different but equal size generic containers
New User
Answered
0.13.x
`@tagName()` for non-exhaustive enums
Answered
Heap allocated ArrayList
New User
Standard Library
Answered
0.13.x
how to troubleshoot: following command terminated unexpectedly
0.10.x
New User
How to cast a variable as [*c] to input into a c library function. Raylib-zig 4.5 with Zig 10.1
SIGILL on xeon
Cast []u8 to c string array
Answered
Can't figure out the problem
0.10.x
Compiler
New User
Where to upload zig package?
Answered
Is signed to unsigned bit casting disallowed?
Compiler
0.13.x
How does Zig handle this inline assembly?
Compiler
build, zig from master, how to set "setOutputDir"?
How do i explicitly state that u8 is a character?
Answered
How do i multiply strings?
Answered
Wrong initialization with packed struct
Different bitSizeOf beetween runtime and comptime
Answered
Parameterized tests
how to write this in zig assembly?
how do I figure out which error is returned?
Answered
literal [*:null]const ?[*:0]const u8
Answered
Array of functions. error: values of type '[2]fn() void' must be comptime-known, but index value is
What's the correct way to build the compiler after you do git pull?
Answered
Is it possible for an Generic Data Type having an anytype in type parameter?
Help with HashMaps
How do you create a C pointer array that a C function takes?
Answered
error: expected type '[*c][*c]const u8'
Answered
error: expected type '[*c]u8', found '*const [1:0]u8'
pointer to half of int value
Answered
ChildProcess.CollectOutput attempt to use null?
Standard Library
New User
0.13.x
WASM example
New User
File io with timeout
Answered
Convert ArrayList to an array
New User
Answered
Seemingly valid JSON failing to parse
Answered