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