zig-help

21196 threads · Page 357 of 424

zig tries to evaluate errno comptime 5 messages
Answered
Concurrency, parallelism and threads 3 messages
Zig pattern matching in swtich statement? 2 messages
New User Answered 0.13.x
Add a C library containing `build.zig` to my Zig project? 4 messages
New User Answered 0.13.x
avoid inline else accounting for non-exhaustive values of an enum 11 messages
Answered
Confused with the zig builder 2 messages
Reference Struct like a factory? 25 messages
Answered
enum with compile time if, achieve similar to the #if in C 6 messages
how exactly to pass argc and argv to C libraries who need it 14 messages
Should the Bootstrap WASM compiler work? 6 messages
Compiler New User 0.13.x
What is the zig compiler doing when we give him a .bc file (LLVM bitcode)? 15 messages
Can an Enum be declared inside a struct? 6 messages
Accept generic writer type? 16 messages
Answered
"struct requires comptime because of this field" error 4 messages
Answered
stores to allowzero 0 pointer not emitted? 23 messages
How to expose my lib as a module? 17 messages
Is there a way to "spread" a struct into another at runtime? 42 messages
Stuck with LLVM broken module with heavy comptime 8 messages
Answered
String Concatenation -- error: expected type '[]u8', found '[]const u8' 36 messages
Answered
[Code Review] AOC 2020 D1 85 messages
unable to evaluate comptime expression in switch 8 messages
expected *T found *const T 7 messages
dev 0.11.0 build docs project ??? 4 messages
Is there a way to accept an `Error!*Bar` param and run `a.foo(b)`? 9 messages
weird error when assigning a variable to a union 3 messages
"the struct that corresponds to the current file" (!) 3 messages
Restrict function access at comptime 97 messages
Issues with ZLS (windows 10) 15 messages
New User
random number within certain bounds 2 messages
Answered
Is there a way todo errdefer and defer in one line? 2 messages
is there a parse Target 8 messages
initialize all array’s elements to the same value 3 messages
Answered 0.13.x
Dealing with linked list in libpcap 13 messages
Answered
@field doesnt seem to work on a comptime block? 13 messages
Question about std.log custom fn 2 messages
New User Standard Library Answered 0.13.x
zig test specify path for @import 3 messages
ZigLLVMX vs LLVMX. 7 messages
How do you make zig use pkgconf's cflags output 4 messages
how to change std.options.io_mode ? 18 messages
New User
Preferred way to install zig in CI 2 messages
Answered
callbacks in zig 6 messages
New User
Arm 32-bit native compilation error: unknown architecture 478 messages
Compiler 0.13.x
how to assign into a multidimensional array? 76 messages
Answered
does importing the entire std impact with compile times instead importing specific function in std? 2 messages
New User
Modules work via tests, but when I try to create an exe it fails 26 messages
Answered
cast discards const qualifier? 8 messages
New User Answered
how to convert from int to float 7 messages
New User
ld.lld: error: corrupt input file: version definition index 0 for symbol curl_jmpenv is out of bound 3 messages
Compiler
disabling unaligned access to memory 28 messages
0.10.x Compiler New User
Trying to implement openpty(3) in zig 30 messages
New User