zig-help

21196 threads · Page 356 of 424

zig no longer caches @typeName calls? 9 messages
Answered
Get canonicalized relative path from perspective of other path 2 messages
Answered
how to pass -femit-bin to `zig build test` 24 messages
Answered
In tagged unions, is there a concise notation to use the same struct/type on different tags? 5 messages
When to create multiple std.mem.Allocator for the same Allocator? 56 messages
Answered
SoA in zig? 25 messages
Answered
Check if []u8 slice is undefined after alloc 4 messages
Answered
Why zig wants allocators to be traits, instead of generic parameters? 47 messages
Answered
creating module which needs to access its own utility functions?? 19 messages
Answered
Rust interaction from zig 4 messages
Answered
How to build stage1 9 messages
Increase stdin buffer 32 messages
array vs tuple 27 messages
Build error when installing zig --HEAD with Homebrew 5 messages
0.10.x Compiler New User Answered
Builtin function equivalent to asm volatile ("pause") 3 messages
Non-comptime vector swizzles 34 messages
Answered
Rust String or &str vs Zig slice 4 messages
Answered
Is there a roadmap/changelog for v0.11 yet? 14 messages
Answered
what actually gets allocated here? 64 messages
Answered
Match switch case with string of any length 15 messages
zig compiler crash: The following command terminated unexpectedly. 28 messages
Some questions about (ptr) alignment 40 messages
Answered
Unsupported 'Content-Disposition' header value 3 messages
what's the best way to represent a variable length array of structs with a max length of 78? 4 messages
New User
How can I build build.zig manually in order to customize the build options of build.zig itself? 9 messages
Unittesting a string 3 messages
Zig Idiomatic approach to configuration 7 messages
Vending precompiled libraries with Zig Pkg? 5 messages
Parsing a json file with unknown keys in a hashmap 51 messages
Answered
how to generate a mapfile in Zig 8 messages
Compiler
is the "use" keyword of Zig the same as "using" keyword of odin/jai? 5 messages
New User
Copy On Write (COW) or SmallVec in zig? 14 messages
Cast `?*const anyopaque` to []const u8 10 messages
New User
How to I mark my post "Answered"? 2 messages
New User Answered
When is @call(.always_tail) safe to use? 6 messages
Answered
How do I declare that a function will take any arbitrary struct and insert it into a StringHashMap? 79 messages
Standard Library Compiler Answered
Get function return type? 3 messages
(Ab)using enum field names for parser oneOf 21 messages
what to do about C->zig translation errors? 5 messages
Coercing types in switch capture 2 messages
zig turn .so file into .a 4 messages
Idiomatic way of getting a random item out of a HashMap? 10 messages
Standard Library Answered
Hashmap and local variable 7 messages
Standard Library New User
How to debug Zig with a debugger 14 messages
New to zig and struggling. 22 messages
New User Answered
scope of @setCold 5 messages
std.ChildProcess.exec with an ssh command does not work (times out), when it works when run in shell 3 messages
Value with compile time only type depends on runtime control flow 3 messages
0.13.x
Global hashmap 7 messages
New User
Using zig to cross-compile mruby project 2 messages