zig-help

21196 threads · Page 5 of 424

Why does one of these expressions compile but not the other? 5 messages
reading a virtual file 83 messages
master New User
Make check step for a library (no executable) 14 messages
0.16.x
handling errors in async code 11 messages
Standard Library master
Should I make the struct own the allocator provided at init, or accept it in each call? 20 messages
0.16.x New User
what is the use of the ".?" syntax for unwrapping optionals/null unions? 7 messages
0.16.x master New User
"truncating" to larger integer types: a feature or a bug? 12 messages
0.16.x New User
Ziglings Exercise 6 String Concatenation 12 messages
master New User
How to produce a flat binary? 2 messages
Why does casting from []const u8 to *const [n] not have runtime safety checks when len is < than n? 7 messages
0.16.x Compiler
can you have more than 1 std.Io in a single program? 28 messages
0.16.x Standard Library master
Is builtin.os.tag checking evaluated at comptime like C's #if? 3 messages
Can `extern union`s be used for data reinterpretation? 4 messages
How do I fix an "error: invalid left-hand side to assignment" while using translate c? 3 messages
0.16.x Build System New User
In master builtin deprecated? 22 messages
Understanding Io.Writer 42 messages
wierd TokenIterator behaviour 20 messages
0.16.x Standard Library
Question about the build system 4 messages
A topic related to type reflection in runtime zig 33 messages
0.16.x New User
How to start a real learning project with zig? Where can I find the information I need to study? 61 messages
The inconvenience associated with the refusal to change the prefix in the build system 47 messages
Build System Compiler New User
Are posix bindings still around? 2 messages
0.16.x Standard Library New User
Exports not getting compiled when compiling for wasm 18 messages
0.16.x Build System Compiler
How to link a object file and compile? 12 messages
0.16.x
change in behaviour on android 2 messages
Knowing the length of each placeholder formatted by `std.Io.Writer.print` at runtime 14 messages
0.16.x Standard Library
Should I create a dummy root in Trie implementation? 17 messages
0.16.x
weird parsing scope in things which are not using `{`/`}` 3 messages
Convenient way to check if a struct type was generated by a specific function 3 messages
0.16.x
Vendoring deps for Nix flakes 2 messages
0.16.x Build System
0.16 while(true) loop makes seemingly incorrect program compile 21 messages
0.16.x Compiler
Does -fincremental already work when using C code? 13 messages
0.16.x Build System
can someone explain this one 16 messages
How to reproduce windows ci failure on linux? 3 messages
How to generate format args in recursive function? 12 messages
0.16.x Standard Library New User
How do you get the project root folder in a build.zig custom build step? 20 messages
Moving allocators between functions 17 messages
building zig with -Dno-lib 14 messages
using `std.meta.stringToEnum()` on an `union(enum)`? 105 messages
0.16.x Standard Library New User
What's the correct `*Writer*` to use for the comptime zon serialisation? 6 messages
Standard Library master New User
Can zig use fields instead of strings for logging? 38 messages
[solved] ArrayHashMap vs HashMap: Difference? 9 messages
0.16.x Standard Library
Issues including a C header-only library 2 messages
Guarantee safety of `@field` 6 messages
master
Windows issue: ACCESS DENIED error :( 12 messages
0.16.x
Inline For Control Flow 13 messages
master
Android Application Target? 2 messages
Zig io buffer flushing 58 messages
master New User
Hi running into CI / CD build issues not sure what is the solution 20 messages
Comptime string from enum 25 messages
0.16.x Standard Library Compiler New User