zig-help

21196 threads · Page 95 of 424

How to deliberately panic? 5 messages
Answered
How to declare and use a source file? 3 messages
Answered
Is there a way to change the command for `b.addSystemCommand()` depending on the building os? 8 messages
Answered
View generated assembly and unmangle symbols 11 messages
Answered
What is the approach to store function pointers of different types in a HashMap? 10 messages
Assign to a slice 4 messages
New User Answered
Can my function return a slice with only 1 heap-allocated variable? 6 messages
how can i add a file to a dependency? from build.zig 147 messages
Answered
What does @This() refer to when it's used in the top scope of a .zig file? 3 messages
Answered
Best way to make an "examples" folder? 10 messages
Answered
Issue with Zig recognizing @cImport file 27 messages
0.14.x Compiler
Dynamic Function Array 5 messages
Answered
getting string from unknow length pointer 12 messages
Answered
Limit length of number in print statement? 3 messages
Answered
How to link against library in a package? 19 messages
Build System 0.14.x
Error when running binary that links to GLFW and GL 2 messages
0.14.x
issues with using cpp / c header library in zig 5 messages
Build System Answered 0.13.x
Configure the zig build system install step to install misc. binary files, e.g. game resources? 2 messages
Answered
Way to detect unused function errors? 8 messages
0.14.x
Create file while opening if it doesn't exist 14 messages
Standard Library Answered 0.13.x
expected 1 argument, found 2 -- zls@ptrCast(value: anytype) anytype 3 messages
function-returned types or structs? 9 messages
0.14.x Answered
Freeing string from inside struct inside ArrayList 10 messages
Answered
Errors while packaging simpleble. 8 messages
Answered
useState switch on type, stuck expecting "}" instead of "," after middle case 2 messages
How to stop "fetching packages" in build? 73 messages
Zig update to 1.14.0 help 63 messages
New User
how can i improve this writePacket function? 30 messages
How to parse JSON into NESTED tagged unions 10 messages
Answered
How to include tests in subdirectory? 6 messages
Answered
Assert() causes problem on the return value of a function 6 messages
Answered
Is there an easier way to join an ArrayList of numbers into a string? 2 messages
Answered
How to create directory in local cache 36 messages
Build System 0.14.x Answered
Why do ArrayLists do not have a `.size` field like other languages vectors? 5 messages
What allocator to use in WASM? 10 messages
asm volatile patterns and syntax 19 messages
Answered
How do i initialize an extern C struct in Zig? 18 messages
Answered
Cpp files in zig build 17 messages
Build System 0.14.x Compiler Answered
How to make this memory safe? 17 messages
Answered
Stringifying json - issues with attempting to reimplement std.json.stringify with decimal formatting 19 messages
cross compiling not working for raylib 2 messages
More idiomatic / safer / better way to write this function? 34 messages
0.13 -> 0.14 new main signature? 5 messages
Should I make a separate variable for `std.debug.assert()`? 2 messages
Standard Library Answered
What is the fastest way of parsing request params into struct/enum map 2 messages
0.14.x New User
Porting to freestanding, eliminating usage of Thread.zig 9 messages
How do you make for loop in reverse? 6 messages
unknown error using thread pools... 8 messages
Standard Library master New User Answered
How important is thinking about 'align'? 37 messages
Does Zig have a code generator? 104 messages