zig-help
comparing tagged union
Parsing "unaligned" hex string into u256
Answered
setting terminal attributes
How can I list all "Error" in comptime?
How to replace stdout when targeting wasm for the web?
How to Initialize struct from slice
Answered
How to use SDL in zig?
Compiler
New User
Answered
Using zig-network trying to send data on one thread while waiting for data on another thread crashes
Answered
0.13.x
Using build.zig for a C++ project
Answered
Printing a number in a (non-comptime) base using the Standard Library
Standard Library
Answered
Memory leak with `ArrayList` and `testing.allocator` inside `ArenaAllocator`
Is that possible to detect whether my code is running via `zig build test` or not?
Answered
Possible compiler bug involving packed structs and enums
Adding .dll to my program
Is this a good AST structure?
Why do I not have a bin folder?
New User
Answered
0.13.x
Why packed union(enum) is not allowed?
Store a hashmap inside a hashmap
New User
Where I can find all variants of std.builtin.os.tag?
Why this code does not work
0.13.x
windows.h variables cause a unable to translate macro error
New User
C API and Zig vulkan binding error
im python user and i dont know heap
New User
Segmentation fault when trying to return an array
0.10.x
New User
Answered
What are the downsides (if any) of using a global allocator, defined outside main() ?
Why does this function behave differently building `releaseFast` vs `debug` or `releaseSafe`?
Is std.mem.Allocator a good example of a generic datatype?
build system: "Modifying" dependency's build.zig?
How to meaningfully use a `?*const anyopaque`
Answered
help translating c++ code to zig llama.cpp example
Moving from C++ and searching for replacement libraries
New User
0.13.x
printing pointers
New User
Weird error when cross-compiling a kernel
Answered
0.13.x
Problems when trying out tail calling on a binarysearch function
Answered
Integer overflow when allocating
Answered
Oracle database connection
Segmentation fault at address
New User
Prevent the compiler from optimizing certain code
Answered
How do I properly install zig to bin/?
New User
C++ -> Zig
How to compare string types in a more lenient way?
Answered
No field named 'type', even though std.builtin.Type.StructField has it.
Standard Library
New User
Answered
error compiling c++ with std:vector
Unable to find module libparser
Zig cannot find header file even with include dir specified.
Answered
Is it possible to iterate through tuples?
New User
Answered
Help with debuging a segfault
0.13.x
some functions take parameters that don't need to be given as arguments
Adding dynamic log levels to std.log (aka another noob question about comptime)
Standard Library
New User
0.13.x
Huh? Comptime expression?