zig-help
Read from []u8 as i8
New User
Answered
Help. The data structures!
Map typing
Answered
What is the expected way to have an absolute path in build.zig?
Answered
import version from build.zig.zon
Answered
How can I return a corrected value from a catch |err|?
Answered
still not sure how to detect amemory leak
Debug and freestanding debug symbols
Answered
Interfacing with C: Writer wrapper for printf-like function
Answered
0.13.x
copy memory
Answered
0.13.x
integer overflow
Why does Zig compiler recompile std every once in a while?
How to get the path of the file that caused an error when using std.fs.Dir.Walker?
Standard Library
New User
Custom set implementation in recursive union
will `self` copy be optimized away in release?
Answered
0.13.x
indexOf Count
0.13.x
Usingnamespace not exporting tagged union
0.13.x
Arraylist Segfaulting
evaluation exceeded 1000 backwards branches & MultiArrayList
@OffsetOf() with comptime-generated field names
New User
Standard Library
Answered
0.12.x
How is this even possible? (`std.Thread`)
Standard Library
New User
0.12.x
GenericWriter and writer.writeAll
0.14.x
Standard Library
Answered
Casting structs
0.13.x
error: no field named 'path' in union 'Build.LazyPath'
Weird build issue when dependency is a sub path.
Compiler
Gettings errors out of stdout/stdin writer/reader
0.13.x
Build: testing if system has a program installed with minimum verison
Build System
Answered
0.13.x
How to generate pseudo random number in zig version 0.13.0?
New User
Standard Library
Answered
0.13.x
inline hash function
Answered
Error reading from stdin
0.13.x
comptime code injection
Answered
where did red_zone go
Answered
Equivalent of __attribute__((constructor)) ?
New User
What determines what struct is at the home page of the zig docs?
Confusion trying to implement a custom allocator
Answered
0.13.x
The naming of `std.math.maxInt` and `std.math.floatMax`
Standard Library
What is the best way to parse a posix.sockaddr into a net.Address?
Answered
bitmath type issues
Updating a struct that is passed as a function parameter
Is std.fmt.allocPrint() the standard way of concatenating strings slices at runtime?
Answered
How to assign many-item pointer to struct field
Answered
Raylib: Segfaulting when loading a model
nvim: zls opens buffer on save if there are errors
Answered
Is there a way to derive the child type of a vector as a return type?
Answered
interface with variable error set that can be empty is annoying, any way to cope?
Switch block error or return
0.13.x
Is there a reference on what standard library calls work with a freestanding system? (w/o syscalls)
0.14.x
Standard Library
Answered
Convert tuple to veradic
0.13.x
Problems C standard library when building a raylib project for wasm32-emscripten
Answered
0.13.x
Convert string slice to [*:0]const u8
Answered