zig-help

21196 threads · Page 384 of 424

@cInclude - error: file not found 2 messages
New versions 7 messages
New User Answered
parse args[#] as an usize 3 messages
Answered
Cannot use comptime interface as AutoHashMap value 7 messages
Atomics in ZIG 4 messages
Standard Library New User Answered
How to create FixedBufferAllocators at compile time? 70 messages
Answered
Wrapper struct for deinit 10 messages
New Package Manager: depend on local subdirectories 2 messages
Incompatible type with same signature 11 messages
Answered
Zig usecase question 14 messages
New User Answered
Difference between u1 and bool 228 messages
stb_image: linker error with @cImport 18 messages
Answered
In terms of speed ... does Complex(f64).init(...) incur run-time cost?? 5 messages
Answered
will zig ever support function literals (or what ever its called)? 6 messages
Confusing error 2 messages
Standard Library
Type checking/inference 4 messages
Compiler
Can zig fmt be configured? 4 messages
Can't define method in local struct 4 messages
Answered
Convert C string to `[]const u8` 5 messages
Answered
Linking C library 5 messages
Is Zig suitable for scientific programming? 54 messages
Answered
When using custom test runner in a test exe, how do you fix `import of file outside package path`? 9 messages
index array with a vector 7 messages
Switching on type 25 messages
Help with macro translation involving C pointer arithmetic? 26 messages
Answered
zig build addSystemCommand failing 10 messages
Answered
How to check for active union field when its tag is inferred? 4 messages
New User Answered
Anyone know what happened to `routez`? 2 messages
Answered
Life and Ownership 5 messages
New User
zig translate-c allows not all options of zig cc 2 messages
Compiler Answered
Mutable for loops 3 messages
Linux commands on stdout 11 messages
std.json optional fields 3 messages
zig-bootstrap: invalid builtin function: '@qualCast' 4 messages
Answered
proper way to free unused capacity in ArrayList 3 messages
Answered
How to execute a function upon sigterm or sigkill on linux? 12 messages
Linked tree structure and alternatives 19 messages
cast [M][N]f64 to [][]f64 7 messages
Is there a way to download pre-built zig versions between 'master' and '0.10.1'? 2 messages
Answered
zig raw .bin file 24 messages
Answered
Likely / Unlikely 15 messages
how to make a build.zig code gen step that works with caching 33 messages
Answered
Basic TCP Server (~100 loc) - Clean shutdown fails 7 messages
How to pass list of strings to function? 2 messages
`std.mem.span`: where does the error come form? 4 messages
Standard Library Compiler
Whats the difference between std.builtin.Mode and std.builtin.OptimizeMode? 2 messages
Standard Library Answered
Adding a dependency without a hash 18 messages
Answered
Using zig cc to compile C lib for WASI 12 messages
Compiler New User Answered
is dynamic struct field assignment possible/idiomatic? 4 messages
Standard Library
Writing errors 19 messages