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