zig-help

21196 threads · Page 294 of 424

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