zig-help
Entry Point
New User
Answered
Getting array index from pointer
New User
Answered
Passing big structs
New User
Answered
relinking issues preparing homebrew formula with zig?
Is there any statically linked vulkan bindings out there?
Answered
translating from c code stdio.h not found
--test-filter with zig build test?
Answered
Check if C imported string is #defined
Read from socket with timeout
Help with memory leak/segmentation fault
how to find error line (if print not trace) ?
Answered
Is it better to import submodules individually for compile times?
bool cast
Return an `ArrayList`
Standard Library
New User
0.13.x
Issue with null termination?
Pass pointer to array across function boundary
Implementing system APIs in Zig
add zig source file to executable in build.zig
Answered
How to get the inner type of T
Answered
Best way to looping over a arraylist while popping and adding elements while within the loop?
LLVM assertion in zig2 when building stage3 compiler
random unreferenced getauxval label
Compile error using zig package manager with local file (.path) instead if (.url)
Answered
package manager segmentation fault (solved, had an old version of zig).
Answered
Packed Struct not packing correctly
Reading a file with Reader
Struggling to use an external library
What's an idiomatic way to get the index of some op (max, min) I want to apply on an array / vec?
Answered
Issue @cImport of variadic function
0.11.x
New User
How do I cast from ?*anyopaque to *std.mem.Allocator?
Answered
How do I allocate using a runtime alignment value?
Answered
Find first occurrence in string
no field or member function named 'getEndPos'
Stuggling with resizeable arrays
New User
0.13.x
Is this the correct way to create evaluate a const a comptime
Answered
(beginner) Help debugging basic script, unable to resolve comptime value error
0.11.x
New User
Answered
Inline assembly
How does zig deal with DRY, There isn't polymorphism/trait/inheritance.
Answered
New User
0.13.x
Odd output from basic main
0.11.x
Answered
Format error
Answered
Atomics decrement if not Zero
Answered
Cast discards const qualifier
Answered
Unable to evaluate comptime expression
How to import modules in modules?
Answered
Where to look for the mistake?
0.11.x
Compiler
What is alignment ?
/lib/std/fmt.zig:87:9: error: expected tuple or struct argument, found i32
Installing file in absolute location using build.zig
Division Questions
Answered
`std.debug.print` and `std.json.stringify` output same string differently