zig-help

21196 threads · Page 18 of 424

Zig compiler crash 3 messages
master Standard Library Compiler New User
0.15.2 MacOS undefined symbols 4 messages
run function at comptime automatically? 9 messages
What does this error mean? 9 messages
master Answered
Exclude initialize() from wasi-wasm build ? 8 messages
how to read from stdin on 0.16.x 3 messages
Standard Library master Answered
Help with variadics 5 messages
Quick question: Will pointer capture be better here or not and why? 12 messages
Answered
`undefined`ing memory on a structure that was const? 32 messages
Need help with a little code review 37 messages
0.16.x Standard Library New User 0.13.x
Debug info for a zig callback given to a C library 11 messages
Answered
problems trying to understand new zig io interface 19 messages
master Answered
0.15.x posix size mismatch 13 messages
Standard Library master Compiler Answered
How to build test executable with build.zig b.addTest without running it? 3 messages
Difference between importing using fetch? 4 messages
Answered
Can pointers to pointers change when reference changes? 2 messages
Answered
Need an advice on multithreading for custom ring-like doubly linked list 2 messages
master
want to return slices that I don't allocate 19 messages
Answered
How do i make field_offset comptime known here? 3 messages
Answered
[solved] Unpacking `.tar.xz` file from Zig code 75 messages
Answered
How to know if a file is older than X amount of time 7 messages
0.14.x Standard Library master
How to type a u32 struct with u8 op_code and u24 payload in 0.16? 7 messages
Answered
Best way to exit 3 messages
Answered
[solved] Parsing Zig's index.json from Zig 7 messages
0.14.x Standard Library master Answered
[solved] Loop through a list, and error at end only if every iteration errored 25 messages
0.14.x Standard Library master Answered
How do you work with operator overloading or custom functions in Zig 17 messages
New User Answered
Struggles with comptime and conditional compilation 9 messages
`std.Io.Reader.Hashed` help 26 messages
[solved] Simple ArrayList shuffle: How? 3 messages
0.14.x Standard Library master Answered
[solved] Minisign from Zig 6 messages
Standard Library master Answered
floating point math with integers 5 messages
New User Answered
Failing to parse .zon 17 messages
Error return change in latest 0.16/master 18 messages
load wav file in zig using raylib 33 messages
Build System New User Answered
will the compiler attempt to pack a struct with multiple bools? 18 messages
Answered
What Is Causing This Error With (Program) Options? 20 messages
Build System Answered
C interop: Buffers 3 messages
New User Answered
Basic struct question - error: no field or member function named 'getInput' in 'game.Game' 21 messages
Answered
Confusing API design choices 4 messages
Standard Library New User Answered
Correct way to declaratively define an interface 117 messages
New User
init: std.process.Init usage in main or functions 2 messages
Answered
std.Io.Reader basic questions 34 messages
Standard Library master New User
best way to convert slice of u8 to a [:0]u8 null terminated string? 11 messages
Answered
Want my own hash function 10 messages
Answered
Confusing result when linking a library dynamically. 2 messages
Build System New User Answered
WASM memory reads & writes in Zig 2 messages
New User Answered
Error subsets in return type? 4 messages
Answered
Zig 0.16 io async examples 5 messages
Answered
Build fails when pulling a Git repository from Codeberg, but using Git `clone` manually works fine 13 messages
Build System New User Answered
Best way to write and read wav file from scratch 5 messages