zig-help
What happened to std.os.windows.user32 in master?
std.meta.trait functions
Answered
execvpeZ: cannot use try
0.13.x
not sure which version is better, anytype or union
Answered
Debugging "Panicked during a panic"
Vscode 'raylib.h' file not found
root struct of file 'os.windows' has no member named 'user32' after zig update.
Answered
stdout stdin in a struct
New User
test global state
Answered
0.13.x
int to string at runtime?
Does ReleaseFast disable bounds checking?
struggling doing a to_string() method
New User
Answered
0.13.x
how to make a buffer and concat all strings of the buffer?
New User
Can't loop 256 times?
Answered
How to forward exports to a different module
getting the current time as a string during build-time
HashMap with struct as key containing a string
convert array of bytes to string
Cleaner way to strcmp against string literal?
How do I properly create new slice from std.mem.trim()?
Ziglings snippet doesn't compile
How to unsafely redirect a function to another without caring about signature or return
PriorityQueue.update() does not update correct item when the queue is a list of structs
How to link .def file when building?
Destructuring Tuples?
Answered
Debugging Zig code
Answered
string append at runtime?
How to disable the sanitizer
Store generic types inside ArrayLists or HashMaps?
zig build run error
Error using `std.c.shm_open()`
A very non-descriptive error when building a project
New User
Function implicit pass by reference
0.11.x
Is there a way to expect a certain output to stderr in tests?
Access parent struct field
New User
Answered
Test requires static library
Answered
0.13.x
vzeroupper kills my OS
Answered
Zls Cache Errors
Answered
A bit of "under the hood" question
Expected type `*something ,found *const something`
Answered
Generate enum from json file at compile time.
Whats the use of container level comptime field?
Answered
How to implement a `map[string]any` type similar to Go language?
Can I somehow make a wrapper on an std.mem.Allocator withot using global variables?
Answered
linked list;
New User
Types being mutable by default
New User
Compiler
Answered
0.13.x
Is there any C's `register` keyword alternative in Zig?
Custom Input Prompt?
New User
Array of Strings?
New User
Confused by `break` in nested for loop.