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