zig-help
WT?
What would be the equivalent of Rust include_str! macro in comptime Zig?
read only pointer
How to use std.fmt.format with anonymous type?
Is there a std lib tool to convert from an iterator to a slice?
Standard Library
New User
Answered
How do I match C errno?
Answered
How can I measure the performance of a section of code?
Answered
How to create 2D contiguous slice
Answered
curious about how useful comptime is
I would really love help and tips on learning zig because I really want to use it.
Adding Base16 and Base32 to standard library?
Linking .lib files with zig cc
Sussy segfault
zig-bootstrap can't link libclang
Initialization style of multi-dimensional array.
New User
What is the best way to enforce struct invariants?
Answered
C style free(void *) with allocator
Organizing examples?
Answered
Linking Windows Resource Files with Zig?
Compiler
How to reference a local repository in build.zig.zon?
How to calculate hash of a package
Mutable 'i' not accessible here
build: optional install step
Error, function expects const pointers
Best practice: compilation without install cli flag
Answered
How does @import find files/libraries?
Answered
Proper way of parsing json with std.json when parsing a struct with a subset of json fields
Standard Library
Answered
how to free
How to notify a thread
Converting two sequential items of u8 array to an i16
Answered
How do I generate a random number uniformly in [0, 1)?
Answered
does zig allow anonymous unions in c header?
How do I create an empty addModule?
Answered
Sorting a StringHashMap(usize)
Answered
Is there alloca in zig?
Answered
Can one optimize specific modules only in `build.zig`?
Answered
Ziglang interface pattern destroys performance (100$ to your charity for solution)
Is there a way to declare the integer type of the range in the new for syntax?
Answered
if expressions
Apple/Homebrew zig --HEAD updates [solved]
"MSVC" build problem on command-line Clang
New User
Error after upgrading: `error: expected error union type, found 'bool'`
New User
Answered
Returning C strings
Equivalent for b.addTestExe?
Trouble building zls, want to verify steps forward!
New User
Answered
setting up vscode
New User
An assortment of questions relating to strings and sending/receiving them from sockets
Int to string
Standard Library
New User
Iterate over a hash map (env) and print key=value pairs
Standard Library
New User
Calling other programs in Zig in Linux
Standard Library
New User
Answered