zig-help

21196 threads · Page 313 of 424

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