zig-help

21196 threads · Page 295 of 424

is it possible to set a default calling convention in a file 15 messages
New User Answered 0.13.x
Should the size of this packed struct really be 16? 5 messages
Answered
How to declare pointer to a function with optional error? 4 messages
Answered
How can I correctly obtain the list of keys from a map? 18 messages
Whats is going on here (bit manipulation stuff) 9 messages
Answered
LLVM directories not found by CMake when trying to generate build files for compilation of Zig. 20 messages
Compiler New User Answered
Debug printing a struct 53 messages
New User
Equivalent to panic!()/todo!() 15 messages
New User Answered
Interprocess communication best practice 9 messages
Zig Terminal UI? 2 messages
Install exe to specific path 5 messages
For loop getting skipped for seemingly no reason 12 messages
Emit object file to `zig-out/bin/` for bpf targets 3 messages
Add headers from a header only library 5 messages
Idiomatic Zig for allocating functions 20 messages
Inline call is recursive 20 messages
ZLS Not recognizing modules or their members. 63 messages
Answered New User 0.13.x
ZLS when cross-compiling 9 messages
Where is the standard library function to find an item in a slice 9 messages
New User
Combining two u8 into []const u8 18 messages
Is there an example solution to ziglings quiz 8's bonus exercise? 3 messages
Why max_size is required for reading a file ? 35 messages
New User Standard Library Answered 0.13.x
allocators 9 messages
New User
Extreme Performance Degradation when using a simple initialization function and fat ptr interfaces 39 messages
Answered 0.13.x
Confused on Mutability Rules 4 messages
Answered
Get datetime in compile time 8 messages
Answered
How a slice is implemented internally? 72 messages
Answered
zig metaprogramming to figure out what kind of gl function to call. 9 messages
error: 'bits/signal.h' file not found when compiling mach-glfw to wasm target 8 messages
Reinterpreting a [_]u8 as []u16 63 messages
0.11.x
Trying to re-do ziglings but it's not building 2 messages
Answered
zig-bootstrap 6 messages
for loop pointer variable 24 messages
Mocking extern functions 8 messages
Answered 0.13.x
elseif in zig 19 messages
"zig build test" ignore my tests 86 messages
Answered
How to Compile WASM in `build.zig` 73 messages
Reading From a File in Zig 12 messages
New User
Access namespace declaration dynamically at runtime and not comptime 10 messages
How to change my struct output format while `std.debug.print`? 6 messages
am i allowed to tail call here? miscompilation? 10 messages
Continue code execution after `catch`. 4 messages
Answered
Hashmap of ArrayList 2 messages
@field but at runtime not comptime 30 messages
Open directory containing file 7 messages
Answered
Compile error `transitive failure` (currently with `websocket.zig`) 6 messages
Print out memory address of function local array 11 messages
New User
Packed struct field not assigned properly if type is u4 36 messages
New User
Best way to correct a memory address leak 9 messages
New User
Unable to evaluate comptime expression 6 messages
New User