zig-help

21196 threads · Page 310 of 424

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