zig-help
Interface implementation
0.14.x
master
New User
Answered
use dependency of dependency
Build System
0.14.x
Answered
function parameter question
Android support for SDL3
dynamic function creation
0.14.x
Compiler
Answered
compilation error when cross compiling x86_64-linux to aarch64-linux
Build System
0.14.x
Answered
Difference between `std.Io` and `std.io` and how to get a handle for an stdout writer.
Answered
Can you return an error set and an error?
how to use std.mem.min with a field in array of struct
Answered
Incorrect formatting string?
master
Answered
How to quickly zero out a large amount of allocated memory?
0.14.x
Standard Library
New User
Need Help: Building a modular program
Answered
custom Vectorized indexOfAny 50% slower than std.mem.IndexOfAny help
write bytes to files at build.
How to expose C functions from within a Zig library?
Answered
Way of specifying exactly which library to link
0.14.x
Compiler
Answered
Pass enum as parameter
Answered
is it possible to generate integer type from known size?
0.14.x
Answered
Unexpected behaviour on debug optimization level (riscv64)
master
Answered
How do I manage Zig building to Android
Math operations for packed structs result in suboptimal assembly?
0.14.x
Compiler
How to test if an error is in an error set?
Answered
Master ZLS installed by ZVM can't find the STD
Build System
master
Answered
What is the correct way to initialize os.linux.ifreq?
0.14.x
Standard Library
New User
Answered
Incompatible pointer type warnings on MacOS Source build
master
0.14.x
Compiler
Build System
Answered
Is there a way to create an empty tagged union in the switch parens?
0.14.x
master
Answered
Why does this work??
How would you approach reading jpg files and scaling them in zig?
Stopping a process to see if defer is working, other than using ^c ?
0.14.x
DebugAllocator docs question
Do you have to pass .target and .optimize explicitly to dependencies or is it done automatically?
Build System
Answered
Why does this cause a segfault?
0.14.x
New User
Answered
Ho to kill thread? Or test something that need to run in background
replacement for LinearFifo
spirv image sampler
Can I wrap an already thread-safe allocator as a ThreadSafeAllocator with zero overhead?
How to improve this comptime construct?
Answered
ZLS vs Compiler StdOut
Standard Library
New User
Displaying a dependency's build options
Answered
Is there a way to instruct ZLS to use `zig build test` instead of `zig test` for debugging tests?
Build System
0.14.x
New User
Zls Bug
New User
Understanding Zig async IO using the iofthetiger library
What is the zig way to make function parameters updatable?
Experimenting with generic Type recursion
How would one create a comptime map keyed by type, with O(1) lookup?
ThreadPool.zig is not present in the latest pre-built download
How do I join two slices without causing reallocation?
0.14.x
New User
Answered
Combining GPU Backends: Can't Find Libraries
0.14.x
New User
Answered
How do you perform saturated addition with two different types of unsigned integers?
Answered
Idiomatic way of reading terminal input from user with terminal in raw mode?