zig-help
possible to loop over fields of anonymous struct literal?
Answered
Unexpected result with comptime struct fields
Compiler
New User
0.13.x
Building a directory Tree with properties
How to use a while loop with !void?
Answered
0.13.x
Dynamic Array, stable pointers on grow
Answered
How to fix this compiler error?
build.zig.zon C dependency
Is it possible to have zig build append arguments to run step passed from cli?
Rust style include_bytes/str macros in Zig?
Answered
filter to running only tests in specific file (and not imports)
Anoymous struct @TypeOf assertion
Answered
If I'm in FreeBSD and want to use `0.11`, should I download `zig-0.11.0-dev.4008+a0b35249a.tar.xz` ?
New User
Answered
0.13.x
Parsing integers from JSON
0.10.x
Standard Library
New User
I am getting Error: incompatible types: tuple
0.10.x
New User
Answered
Is it possible to use static library with C deps built with Zig as a dependency of an executable?
New User
How to read `@embedFile` as a `*const [_:0]u64`?
Answered
Inline assembly refuse to compile
Compiler
New User
Better way to write this?
Answered
@Vector(16, bool) to u16
Answered
Why are errors/etc. built in rather than std library ADTs?
Zig's version of Rust macros
Zig run step with multiple execs
error: expected 'name:deps:path' after --mod
Converting a `[*c]whcar_t` into a usable format
0.13.x
Program doesn't work with `ReleaseFast` or `ReleaseSmall`
Compiler
Answered
Why use const pointers?
Answered
is it possible to print text during compile time?
Best Way to Hash `u32` in Custom Hash Context
Answered
Resources to learn the Zig build system
New User
Answered
Error Compiling Large C++ Project to Executable with Zig
parse json into hashmap
Standard Library
Answered
0.13.x
casting a number to void* in zig
New User
Answered
can't compile, without specific error
System endianess
How to get the length of std.net.Stream?
New User
passing a const string literal to a function that takes a [*c]const [*c]const u8
anyone knows how to append to string?
How to link static library written in Zig to Zig project?
Compiler
0.13.x
Idiomatic errors with data attached?
Answered
Build errors inline in IDE?
New User
ArenaAllocator doesn't actually make any heap allocations?
Answered
Math intrinics and peer resolution
0.13.x
getStdIn on windows
Answered
Recommendations on how to make this code less awful.
Answered
longer memory leak traceback
Answered
error with no reference trace:
Embedding generated files from build.zig
Answered
Why returning a string as a slice from within a function works outside of it?
New User
Can you ignore errors in zig without handling them?
New User
Answered
defer unable to infer unwrapped optional pointer