zig-help

21196 threads · Page 338 of 424

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