zig-help

21196 threads · Page 11 of 424

import of file outside module path 2 messages
Newbie Zig questions 210 messages
Answered
How to access main's `init` in tests? 164 messages
0.16.x Standard Library Answered
Embed files at build-time via build.zig, making available as build options 6 messages
0.16.x
Does `defer` execute before or after a `break` (or `return`)? 7 messages
Answered
Whats the correct way to UDP receive on two sockets without blocking the other one 15 messages
0.16.x Standard Library New User Answered
Is the zig team planning on removing/moving `std.Threads` to `std.Io`? 15 messages
Answered
Zig no llvm backend 4 messages
How do I start learning? 3 messages
Interoperability of c calls in two independent zig modules? 2 messages
pointers to members of packed structs 6 messages
stdin and readUntilDelimiter 10 messages
Answered
How to satisfy type system when using `std.fmt.Alt` with same context type but different function? 6 messages
BadPathName with readFileAlloc() 21 messages
0.16.x Standard Library Answered
Zig TrueType font rendering — spacing calculation 11 messages
Answered
`ReleaseSafe` for C 4 messages
Compiler Answered
Add function to structs' namespaces 21 messages
0.16.x
Did not read code of conduct properly. Commented on issue mentioning LLM. Blocked 47 messages
why do allocators work like that? (UX/syntax question) 76 messages
master New User 0.16.x Standard Library Answered
Optimal way to search in and read the Zig Standard Library Documentation 20 messages
Answered
VSCodium, ZLS and automatic installation of Zig 0.16 13 messages
Answered
addObjCopy gives error and llvm-objcopy does not 3 messages
Answered
Difference between -Doptimize and .preferred_optimize_mode 2 messages
0.16.x Build System Answered
Multi-Threading problems in 0.16.0 61 messages
Answered
Pass LazyPath to format string 4 messages
Answered
Pointer method target in packed struct 5 messages
0.16.x New User Answered
[solved] Custom Integer Type: Struct vs Non-exhaustive Enum 69 messages
0.16.x Standard Library Answered
Actor / memory safe framework 170 messages
Comptime JSON parsing 10 messages
0.16.x New User
How do I open a file with 0.16 std nonblocking? 10 messages
Answered
Better optional ergonomic 5 messages
Answered
[solved] Applying @Vector operation .Sub on @reduce 7 messages
Answered
CmpXchange Questions 2 messages
0.16.x
Where did std.posix.socket go? 5 messages
Standard Library
Referencing module fields within the module 2 messages
Answered
How do I link an artifact to TranslateC? (fails with CacheCheckFailed) 25 messages
`undefined` pointer address (cause: loops have `else` branches) 16 messages
0.16.x Compiler Answered
Is pass-by-const-lvalue an anti-pattern for large structs? 45 messages
Implementing game engine style runtime function call connections 24 messages
Create `fsopen`-capable process 5 messages
Standard Library master Answered
Properly including system C header in 0.16 8 messages
Answered
Use comptime-known tag for union access in switch branch 6 messages
master Answered
Having problems with project structure 26 messages
0.16.x Build System New User Answered
Cannot compile fuzz test in zig 0.16 17 messages
0.16.x Standard Library Compiler
comparing f32 to u72 28 messages
Answered
why are lazy dependencies getting fetched? 2 messages
Answered
SEGV when reading file via `readAlloc` 11 messages
0.16.x Standard Library New User Answered
zig 0.15.2 build error 6 messages
Memory Leak When Reading a File 24 messages
0.16.x Answered
Replacement for std.process.getEnvMap? 3 messages
0.16.x Standard Library Answered