zig-help

21196 threads · Page 149 of 424

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