zig-help
std.io.poll(): Does not do what it says on the label | what's the alternative?
Standard Library
Answered
0.13.x
Loading shared library and calling function that uses allocator segfaults
Answered
functions that allocate and return memory
Answered
zls turn off function parameters declaration insertion on auto-complete (vscode)?
New User
Answered
How to convert the output of this code to json?
does zig have types system similar to typescript?
Does Zig have lamba functions?
Unwrapping optional pointer not branching properly
Answered
How to compile library to wasm?
os.system__struct_2351 has no member 'fd_t'
Weird compilation error
addStaticLibrary results in 8-byte .a/.lib file
How to fix this runtime memory access violation
filter function
Answered
I can't figure how to use this bitflags
enum tag value already taken
Comptime function pointers
Answered
map function
Answered
Concise way to instantiate generic types?
run `zig build run` from parent dir or somewhere else
New User
Answered
Why does this function crash in Debug release mode?
how do i install a package
0.11.x
New User
Answered
inline for to iterate over tuple
Answered
error: async has not been implemented in the self-hosted compiler yet
0.11.x
Cross compilation not behaving as expected
Compiler
New User
0.13.x
how pass type as argument to function ?
Answered
First zig program, would appreciate some feedback
Answered
Arrays, Slices and Pointers
How to read a file byte by byte?
Standard Library
0.11.x
Is it correct to compare const strings by pointer at comptime ?
Answered
[Solved] Can't free slice after modifying
Answered
Why are function arguments immutable but aren't const?
New User
Answered
Segfault when looping over ArrayList with for loop
0.11.x
New User
[]u8 assignment, I don't get it
How is @memcpy implemented?
Standard Library
Compiler
Answered
What path should I specify
Answered
Cell zig
How to make the std.heap.LoggingAllocator log the file and line of allocations?
How to create Object file output in build.zig
0.13.x
updating zig code to not use @intToPtr
passing arguments to a custom build step
Answered
Can't use i32 when doing an if expression?
Overwriting the copy
Function pointer type for functions with different parameters
How do I work with `std.atomic.Atomic` correctly?
Standard Library
0.11.x
New User
Answered
Integer formatting in Zig
Can someone explain this syntax
New User
Most idiomatic way to have pointer to a `@embedFile` data blob?
0.11.x
New User
Printing the `target` in a `build.zig` file
toJSON
Answered