zig-help
DebugAllocator how to detect leaks on `zig build run`
New User
Answered
Easy way to convert compile-time string to slice
master
New User
Answered
Why is the build script recompiled every time?
master
Build System
Compiler
New User
stdout().writer() not printing?
master
New User
Answered
Comptime Fields Question
error: no field or member function named 'read' in 'fs.File.Reader'
Standard Library
New User
0.15.2 Code snippet refactor/how to encode this simple if-not-then-else-error logic
New User
Printing in tests?
error: OutOfMemory in build script
master
Compiler
New User
Build System
Answered
checking the last element of a AutoArrayHashMap
Answered
error: unable to find dynamic system library 'GLX' using strategy 'paths_first'. searched paths
Resource Cleanup std.Io
Standard Library
master
Why can't I just read directly from the buffer?
Answered
How to escape zero character in Zig?
New User
Answered
mapping one enum to another via ptrCast
Answered
Help understanding new interfaces
master
Answered
Help understanding error when printing std.http.Client.Response
New User
what are the modern alernative to the now inexistant usingnamespace keyword when importing c libs
New User
Answered
Debug a compiler crash
Compiler
Generating compile time structs with member functions
How Does this Zig Code on new Async/IO work?
Nicer pattern for json-stringifying an anytype
New User
Answered
Debugging not working with current master and 0.15.2
Answered
Does Zig have syntactic sugar to copy all the remaining fields from self
master
New User
Translating writer
Is it possible to skip some set number of stack frames when dumping a stack trace?
Operate on an array list of runtime-known alignment
Looking for a way to see whole Struct sizes and alignments
Answered
Accepting a c callback function as a parameter in zig
Answered
Watching a file
Answered
optimizations not working
Compiler
error: expected type '[*c]cimport.struct_SDL_Surface', found '*cimport.struct_SDL_Surface'
[solved] Safe way to maintain global state
0.14.x
Standard Library
master
Answered
Zig "best practices" for external C++/Cmake project
std.Io.Writer primarily meant for CLI stdout, but how do I check if it's TTY?
Standard Library
master
New User
Answered
generating a header file as part of the build
Answered
asset loading
New User
help fixing ugly function
std.hash.autoHash does not allow slices as well as unions and structs containing slices here
Answered
Help Understanding Moving Data
Answered
Raylib executable file does nothing | Win11
New User
Answered
Duplicate/Redirect Readers/Writers?
Standard Library
New User
Answered
error: invalid format string ' >5.2' for type 'f64'
master
Compiler
New User
Standard Library
Answered
Passing []const u8 data to [][]cosnt u8 buffer \w new std.Io API
Standard Library
master
Answered
read line from stdin (post-writergate)
Answered
Testing Windows Zig compiler tests using Linux
Standard Library
master
Compiler
Zig not showing error-ing code
Answered
file not found even though file exists
Answered
Recursively freeing a struct: Possible?
0.14.x
Standard Library
master
Resize fails despite having enough space