zig-help

21196 threads · Page 130 of 424

How do you reset the length of a std.ArrayList back to zero? 8 messages
how to correctly use the std.posix socket functions? 4 messages
Answered
Why is zig passing a @Vector(4, i32) on the stack in my local builds? 15 messages
0.14.x Answered
network byte order 10 messages
Answered
Strings in Zig 9 messages
New User Standard Library Answered 0.13.x
creating an empty struct type instance 16 messages
bad file type. Did you specify a DLL instead of an import library? 6 messages
How to pass `stdin` as a `FILE *` to a C function from zig? 5 messages
Standard Library
How to resolve `Readable` types at comptime 5 messages
Are compile times for zig faster than the ones for the same project written in rust? 4 messages
New User
zig master can't build zls master (std/mem.zig:669:5: error) 2 messages
Answered
GeneralPurposeAllocator causing segfault in Raylib? 5 messages
0.14.x New User Answered
What does "note: cast discards const qualifier" mean? 9 messages
No field or member function named 'readUntilDelimiterOrEof' 16 messages
Answered 0.13.x
Confusion with coercion from []const u8 to [*] const u8 6 messages
Answered
how to prompt user to load files in a directory cross-platform? 21 messages
Can I have two instances of a package in my dependency graph? 11 messages
Answered
Reading binary data into a packed struct 21 messages
Answered
How to stop loop unroll? 12 messages
Answered
Zig first timer question: linking with pkg-config 10 messages
Build System New User 0.13.x
std.meta.Tag for integer backed packed structs 4 messages
0.14.x
Assigning pointer value from string results unreachable in comptime 23 messages
0.14.x New User Answered
Cant run tests generated by zig init 4 messages
comptime map (part 2) 6 messages
New User Answered 0.13.x
ld.lld: undefined symbol with a function from cbindgen generated header 15 messages
Build System New User Answered 0.13.x
Trying to Understand Zig enums 3 messages
New User Answered
Best way to handle "installing" header files 2 messages
Build System Answered
Build.zig and reference modules from tests 5 messages
Using multiarraylist instead of arraylist 5 messages
Embed Python Interpreter in Zig App 5 messages
Issues with calling WinMain 39 messages
0.13.x
Approach for c pointer parameter 6 messages
Array os Slices (Matrix of different row sizes) is that possible? 3 messages
0.12.x
Consistent C++ standard version across modules with build.zig? 20 messages
Answered
I'm trying to understand some Zig language constructs 33 messages
New User
Using stbi_image.h with zig 23 messages
New User Answered 0.13.x
How to define a struct that takes in a string array? 5 messages
Answered
assign to array from array 5 messages
New User Answered 0.13.x
Save ArrayList data in struct and print as JSON string 2 messages
0.13.x
generic typed ring buffer 2 messages
Answered
Using MemoryPool with deinit() 34 messages
What is the purpose of build.zig.zon? 7 messages
New User Answered
comptime map (non-string keys) 22 messages
New User Standard Library Answered 0.13.x
possible bug? 2 messages
Build System 0.14.x
Iterate over a LazyPath directory. 12 messages
Answered
Good build system resources 6 messages
Build System
properly casting a string to this hellish type '[*c]?*const anyopaque', for use in the espeak C api. 24 messages
0.14.x Answered
importing subdirectory of repository 3 messages
PUA:Win32/SuperOptimizer 4 messages
New User 0.13.x
Custom Json parsing error union problem 46 messages
New User Answered 0.13.x