zig-help
The ziggit.dev website scripts won't execute
how to make http.Server exit when ctrl+c is pressed
Answered
Convert u8 to u16 string at runtime (wide string)
Syncing write operations
How to handle error sets?
Answered
type 'src.deps.c_ares.struct_nameinfo' does not support array initialization syntax
How to actually work with strings (*const [] u8)
zig fetch not downloading package?
Confused about the usage of std.Thread.Pool
Answered
0.13.x
How can I return either GeneralPurpose or ArenaAllocator
Answered
How is @sizeOf an enum 0 ?
compile error in `std.testing.expectEqual`
Answered
`comptime` block doesn't work inside struct definition
Standard Library
0.11.x
New User
Answered
Print ignoring special chars
Per-Thread Variable Initialization (std.Random)
adding string to system clipboard
build.zon.zig: missing top-level paths field
Compiler
0.13.x
StringHashMap of Pointers to Timers
Answered
what is the purpose of the zon .paths field?
Proper way to implement a "endian sensitive" struct
New User
How to pass list of functions to a function?
New User
Bunch of memory leaks even though memory is freed after function returns error
Proper workflow for package dependencies using .url ="file://..." ? (fetch, etc.)
How to use iterators in zig?
pass array of "words" to a function
posibly return custom data with error and catch to anonimus variable?
Answered
what is zig avatar(the animal)
Getting end of path string for windows, unix, etc users.
0.10.x
Standard Library
New User
@mod with floating point values get compiled as a call to a function on x64 ?
Answered
Stack overflow in Dir.makeDir()
How do I cast `T` to `[]const T`
Anonymous module import cannot be resolved by zls in neovim.
0.11.x
is there a way to not invoke the console window
New User
Cannot assign to a constant when passing slice to function
How to use Rust crates in Zig?
Compiler
understanding catch
New User
Answered
Array is of type T, but slice sees it as V
0.11.x
New User
Answered
Understanding comptime?
Reference to mutable object that cannot be re-assigned?
Answered
Allocating/freeing flexible array members in Win32 api.
Answered
0.13.x
Why can't seem to initialize an array of string slices?
0.11.x
Answered
How can I get the current path of my terminal?
0.10.x
New User
Answered
Add offset to *const anyopaque ptr.
Problem using default values on comptime generated types vs manually defined types
Can I choose the type of index in a for loop over a range?
0.10.x
Answered
Is there a way to use addWriteFiles to copy directories?
How namespaces(?) are resolved?
New User
Answered
how to set cli args in build.zig
New User
Where can I learn more about standard library?
I'm getting this error when I'm on windows