zig-help

21196 threads · Page 343 of 424

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