zig-help
What's the idiomatic way to write a decreasing index for loop?
I'm comparing 2 usize values and getting a u8 error.
New User
0.13.x
How do I correctly build a zig multi-project
New User
Answered
What is the layout of @typeInfo?
Two issues I'm having with std.json
New User
Standard Library
Answered
0.13.x
Checking for optional value
Answered
Noob question again
Better way to create enum from string?
New User
Why do I need to pass the allocator to each function of the MultiArrayList?
Answered
Using embed file for a relative path
Concat strings in function
Answered
errdefer allocations in builder-style code
Standard Library
New User
0.13.x
Iterator index
New User
What is the best way to create cross-compilation version via different `zig build xxx` command?
Compiler
New User
Answered
Importing external code in a test
Will moving away from LLVM affect compilation targets such as WASM for browser?
file implicit struct packed? or enum?
Answered
can anyone explain error example from ziglang website
what's the meaning and use case of void and !void
New User
zig errors => errno conversion
Answered
@extern example code? Toy example segfaults/crashes compiler
New User
Compiler
Answered
0.13.x
How to set build.zig to generate a bin file in zig 0.11.0
specify compiler version
aligncast issues
0.13.x
Cannot compile for loop with index in Ziglings number 16
error: a single pointer cannot cast into a many pointer
0.13.x
Any one knows if there's a working UEFI hello world demo for Zig's current version?
How do I do pointer arithmetic with a signed integer?
kill a thread
Get Key and Value type from a hashmap passed to an function as a anytype
how to I allocate a slice of pointers?
Standard Library
Answered
New User
0.13.x
Specify the output directory of zig build
New User
resource where i can learn zig
New User
Issues creating a trampoline with tagged unions
recursion, help with tail optimization
How do I create a struct out of array members for printing?
how I can read input keyboard in zig help please and sorry for my English
Self-Referential Struct
New User
Generic argument -> type erased -> back to concrete argument?
string concatenation
Generating test blocks
Parsing JSON with mixed-type arrays
Answered
Is there a way to transform integer types to their same sized pair of opposite signedness?
Override transitive dependency in build.zig.zon
New User
0.13.x
Noob question
Controlling what optimizations happen more granularly than the optimization modes
zig-bootstrap fails on x86_64-linux-gnu
Good habits: should I inline for/while loops even if it's not required?
New User
Answered
Need a guidance on building JS build tool
Read new-line separated text
Answered