zig-help

21196 threads · Page 209 of 424

How to print to std out during tests? 17 messages
Best way to read a file into a buffer? 31 messages
Connection refused when trying to connect to X11 server. 12 messages
Answered
[solved] Extending builtin types: Possible? 5 messages
New User Answered 0.13.x
ZType: Compact Byte-Encoded Data Structure in Zig - Feedback Welcome 32 messages
[solved] Match `switch` against identifier instead of char range 33 messages
New User 0.13.x
zig cc output binary segfaults if gcc is not installed on system 3 messages
Compiler 0.13.x
Checking if file exists and creating if not 10 messages
Answered
Windows 11 zig 0.12.1 build: error: unable to connect to server: ConnectionTimedOut 4 messages
Build System 0.12.x New User 0.13.x
Can't use ComptimeStringMap during inline for 68 messages
Calling C code from Zig (call .h or .c ?) 18 messages
Call `allocator.realloc` on `?*anyopaque` 23 messages
Answered
GDB in tui mode opens adler.zig? 3 messages
How do I call a macOS system API? 7 messages
need help with string formatting 4 messages
New User Answered 0.13.x
still not sure how std.mem.len works 23 messages
How do I recv and write to a serial device at the same time? 5 messages
Request Body 5 messages
Answered
Is there a way to pass .{} elements as arguments for a function? 2 messages
New User Answered 0.13.x
Unsure how to include c header 32 messages
Build System New User 0.12.x
Understanding struct layouts 10 messages
Passing *const struct vs. *struct in function args, can't call struct methods 28 messages
How do we install a compiled dynamic library in a specific directory with an absolute path? 16 messages
Build System
Not sure how I'm misusing errderefer 26 messages
Answered
ZLS not giving any type related errors? 9 messages
New User Answered 0.13.x
CI failing integration tests (proc/term) 4 messages
Why am I getting a seg fault here 282 messages
New User Standard Library Answered 0.13.x
Are Zig writers supposed to leave unwritten bytes at the buffer end on overflow? 66 messages
Answered
Include header files based off OS 5 messages
Build System New User 0.12.x
C import failed 11 messages
Return type of a hashmap 3 messages
Standard Library Answered 0.13.x
QQ:Equiv Of 57 messages
Build system dependency order (coverage) 22 messages
Build System New User Answered 0.13.x
lld doesn't find symbols that are right there? 3 messages
Answered
Dynamically creating a tagged union 10 messages
Answered
lambda functions 3 messages
How to handle returning the deserialized json value `[]T` instead of `json.Parsed[]T` 20 messages
Tuples and type equality 16 messages
Answered
On struct initialization 5 messages
Answered
libcxx issue on wasm32-wasi 7 messages
0.13.x
Comptime define a struct type containing a function pointer taking a pointer to the struct itself? 4 messages
Comparing strings at runtime 177 messages
Not sure where the double free is occuring 26 messages
New User Answered 0.13.x
Improving CLI integration test 13 messages
New User 0.12.x
Turning an array of tuples into numbers 3 messages
Answered
Unknown Error 12 messages
Help understanding what I can make inline, literal, or anonymous re structs and functions as params? 7 messages
New User
Can I read a `*align(1) usize` that is unaligned? How? 4 messages
Answered
Why can't I make a union file 54 messages
0.13.x
why is `std.c.sigsuspend` not implemented in zig's c interface but other signal functions are? 16 messages
Answered