zig-help

21196 threads · Page 331 of 424

Does while loop support counter? 40 messages
Why aren't my init processes debug symbols in the error trace 6 messages
Stable subset of zig? 38 messages
Is it possible to use expectEqual() with runtime values? 13 messages
Standard Library Answered
Zig `0.11.0` is older than ZLS `0.12.0-dev.2+9532f4a`. Update Zig to avoid unexpected behavior. 21 messages
`[128:0]u8` to `[]u8` 2 messages
Answered
Enforcing an option is passed when doing `zig build` 8 messages
help for the segment fault 64 messages
How to get the stack trace of an error 24 messages
Answered
how to get an iterable cwd Dir? 31 messages
How can i seperate a slice into many slices with a like a specific seperate point ?` 74 messages
std.mem.Allocator vs std.heap.GeneralPurposeAllocator 66 messages
error: attempt to unwrap error: Overflow 4 messages
Specifying zig-autodoc-guide for module 31 messages
Standard Library Answered 0.13.x
cross platform pid 4 messages
Answered
Packed struct size 11 messages
Set of unique integers? 21 messages
Problem building Andrew's Tetris 3 messages
UDP socket tinkering 18 messages
Standard Library New User 0.13.x
libgit2 - failes"unable to translate macro: undefined identifier ..." 4 messages
Compiler Answered 0.13.x
Counting allocator 30 messages
Detect string end with many-items pointer 9 messages
who should alloc, caller or callee ? 5 messages
Answered
Write data of non-comptime alignment/size to a buffer 48 messages
Confused about streamUntilDelimiter 26 messages
setRuntimeSafety 2 messages
Inferring union tag type with @Type 8 messages
New User Answered
Is there a list of builds retrievable from ziglang.org/builds/ ? 3 messages
Why are fields separated by commas instead of semicolons in struct/union declarations? 40 messages
How do I fix memory leak on StringHashMap key 13 messages
How to create a slice with the same length without allocating 4 messages
Output to Terminal without having writen anything that would output to Terminal 3 messages
New User Answered
How to keep "unused" global variable without using "_" in function 12 messages
Compile Zig compiler to WASI 70 messages
Compiler New User
Is it possible to format a string in which I pass another fmt string and a struct? 16 messages
Answered
Discern if error is part of error set A or B during runtime 3 messages
Answered
How could I check if a given absolute path is a file or a directory? 3 messages
Standard Library New User Answered
Converting a 2D C array to a 2D slice 12 messages
New User Answered
Segfault on function pointer 6 messages
Using clion IDE for debugging zig 32 messages
New User
moving from 0.10.0 to 0.11.0: error: sub-compilation of compiler_rt failed 25 messages
no dependency named 'dependecy_name' in 'build.zig.zon' even though it's there 5 messages
Answered 0.13.x
canot assign to const 56 messages
Standard Library New User 0.13.x
Self Referential struct behavior 13 messages
New User Answered
How initialize array field of struct with default values? 3 messages
Answered
unexpected internal padding in std arena allocator 4 messages
Standard Library 0.13.x
Cannot import a local zig library 51 messages
Compiler New User
cInclude c++ headers 3 messages
Answered
Loop over iterator get index 2 messages
Answered
Where can I access the step that is passed into build.zig? 9 messages