zig-help
Initializing a struct
Answered
Zig's new build system
0.13.x
Simple fetch/http GET request and response body (version 0.12.0-dev)?
Can I use "for" loops over large arrays?
Answered
Build error - unable to find Dynamic system library 'readline'
Answered
Zig init not found mac M2
zig build test working directory
How to keep my exported symbols from being discarded?
Is there way to disable LTO?
are std hashmaps move-stable or are they meant to be pinned
How c and c++ languages coexist in build.zig
What's a good way to load a fixed size @Vector from a smaller size slice?
New User
How to copy the content of a slice to an array?
New User
Answered
How to start an alternative std implementation?
Compiler
New User
Answered
How to build of c using build.zig
Help with locating memory leak in tests
Need a quick help on inferring string size
Answered
Get value out of error union
0.11.x
[SOLVED] "LLVM ERROR: Do not know how to promote this operator's operand!" when accessing string
Answered
For vs. while
what is the difference between these zig commenting options ?
Expose @import("std") in current scope
Standard Library
New User
Answered
Idiomatic in-place init function name
Answered
Multithreading problem
New User
gpa.alloc() expects argument
zig ast struct init
Standard Library
0.13.x
comptime wizardry
Answered
X11 color channel masks to color channel offsets and sizes
Is it safe to compile user given code?
Determining the largest atomic size
Answered
Is it safe to reinterpret memory with a packed union?
Answered
Hello, just trying zig, unicode doesn't seem to be working.
Answered
Zig compiler keeps throwing out calculation.
Answered
Use C Library that uses Cmake in Zig project
0.11.x
New User
Print with formatting at compile time
JSON noob who `Unable to parse into type 'void'`
Answered
Conditionally export declaration from struct
error translating c to zig:
Confusion between slice and iterator usage
0.11.x
json parsing with a union
Standard Library
0.13.x
Compile to WASM doesn't work anymore
Compiler
* in fmt
0.13.x
How to test a module that depends on other modules
Answered
How to handle this issue in my serialization library
cast a collection of bytes into packed struct
Multiples questions about Zig stdout buffer write
How to free without much repetition.
New User
0.13.x
array element type 'comptime_int' cannot cast into array element type 'i64'
Answered
0.13.x
How to create struct member variable that depends on another member variable.
Standard Library
New User
Why is explicit comptime needed here?
Answered