zig-help
Conditionally `linkSystemLibrary` with build options.
Answered
convert [:0] to []
Answered
Issue building emscripten command
Answered
Can't understand comptime value's logic
Answered
Compiler won't recognize std.rand
build instructions
Using struct level allocators [beginner]
Answered
How to get installed header path of dependency?
Build System
Answered
0.13.x
Idiomatic way to have an array of anytype. Is there one?
0.14.x
Standard Library
Answered
0.13.x
how to check if anytype matches conditions
0.14.x
Standard Library
Answered
0.13.x
Hardlinking during the install process with std.Build/build.zig
Build System
Standard Library
New User
Using std.io.AnyReader
Load-bearing unrelated debug print, but only in `ReleaseFast`
0.14.x
Compiler
New User
Answered
How do i get the shape of array?
Answered
undefined symbols when attempting to link external c library
replaceAll in string
Difference between @Vector(N) and struct { data :Vector(N) }
Answered
labeled switch with tag union
macos and nix: error: unable to resolve dependency
Answered
How to Vendor C/C++ libraries when building a wrapper in Zig
How to build c / cpp project with build.zig?
struct that takes 2 inputs with same size
Standard Library
0.13.x
compileError: cannot format optional without a specifier (i.e. {?} or {any})
Compiler
Answered
0.13.x
Downloading zig docs
generate function at runtime
Question about Tigerbeetle build script
Answered
How to access a common field in a tagged union
New User
Answered
Is reading/writing to a process from different threads safe?
Standard Library
New User
0.13.x
Understanding destructuring
0.14.x
Compiler
New User
How to read strings in zig
Standard Library
New User
Is there a runtime cost for @enumFromInt and @intFromEnum?
Answered
How to clamp a float to N decimal positions
Answered
How to test stdin command parsing ?
Answered
0.13.x
Help reading segfault and memory leak errors in zig
"zig c++" support for C++23's modularized standard library?
Build System
New User
Answered
Incorrect alignment when allocate memory
Standard Library
Compiler
Answered
How to merge anonymous structs
What is the proper way of (de)serialize a json that has a std.ArrayList?
@memcpy arguments alias
FixedBufferAllocator
New User
answered: import from comptime string
Answered
0.13.x
lldb zig plugin
Answered
Merging autodocs
Answered
What does the const ptr error actually mean?
New User
Answered
How to split a string UTF8 encoded ?
weird ass algorithm with zig
cant get glad and glfw to work
Build System
Compiler
New User
0.13.x
variable is not being set
0.13.x
Representing a handle to a List of data. How to do it in the Data Oriented way?
When using zig as a drop in c / c++ compiler, does it support thin lto via the zig c++ -flto=thin