zig-help

21196 threads · Page 253 of 424

Zig array (pointer)? 84 messages
New User
Write to stderr rather than stdout 15 messages
New User 0.13.x
Is there way to init [512:0] with zeroes? 9 messages
wasm32-freestanding-musl build C sources 9 messages
Thread-Safe StringHashMap Persistence: Balancing Efficiency and Data Integrity 8 messages
Need to build binary that outputs a file in order to build main binary 15 messages
Answered
weird issue with array concatenation 9 messages
Compiler 0.11.x Answered
How to get `*const T` from `*T` ? 5 messages
Answered
random unknown host error 15 messages
Standard Library New User 0.13.x
@typeInfo returns only pub decls 7 messages
Answered
Getting a segfault in implementing an interface 6 messages
Answered
ZLS shows wrong goto 6 messages
Can't disable tls via std.options 2 messages
Standard Library Answered 0.13.x
How can i add import not to root file? 7 messages
Is this use of defer safe? 31 messages
Answered
Confused by this compile error: 13 messages
Answered
getenv, but I want to get value at runtime, not comptime. 31 messages
Standard Library Answered 0.13.x
Chain struct.copy().method() 38 messages
Zigling 58 Quiz 7 5 messages
New User
StringHashMap Sorting 104 messages
How do you pass a user input option to a dependency? 6 messages
Answered
How do I build a struct with named fields using `@Type(.{.Struct})`? 15 messages
Linking libraries statically on macOS 6 messages
Answered
Import C library in Zig Latest 0.12.0 2 messages
Answered
Is std.debug.print completely compiled out in the release build? 4 messages
New User
error: dependency is missing 'url' field 7 messages
0.11.x Answered
zig build set folder as used 6 messages
New User 0.13.x
How to add module on latest master? 39 messages
Error when attempting relative import 18 messages
0.11.x New User Answered
modify struct field that starts with some prefix? 4 messages
Performance problem with appendig to log file 17 messages
"interface" 7 messages
[custom_length]u8 vs FBA u8 ArrayList 7 messages
New User
Nicer cleanup in function 17 messages
Answered 0.13.x
custom formatting for one field of union 6 messages
What's the difference between `f: fn ()` and `f: *const fn()`? 82 messages
Answered
Building exe x86_64 with crosscompilation throws incompatible file 10 messages
Run DIR command with zig? 44 messages
Answered
Writing a lexer in zig 55 messages
Member functions for meta-programmed structs 4 messages
How to make module loadable via `build.zig` and `build.zig.zon`? 13 messages
Setting default_value struct field to null 3 messages
Help with parsing approach zig 77 messages
0.11.x
Is this normal behavior in zig compiler ? 6 messages
Compiler
How to see error traces? 51 messages
Is there a reason that the fourth parameter 'mask' of @shuffle is a comptime? 15 messages
Compiler New User Answered
Obtain hardware info 10 messages
converting floats, ints, and basic loop functions declarations problems 48 messages
Compiler Answered
Suggest better ways to deal with division 25 messages
array literal requires address-of operator (&) to coerce to slice type 11 messages
Answered