zig-help
resources for zig cc
Compiler
New User
Answered
Config header
initialize StringHashMap
Answered
emit a file during compile time
Answered
Book on Zig?
turn slice to an iterator?
0.11.x
New User
Answered
add .lib folder path to build.zig
Cast superset enum to its subset enum type.
Answered
Returning error and option
Answered
JSON from struct, but dynamic field name
0.13.x
raylib trying to free memory I allocated with GPA
Will a pointer to the child of an optional be invalidated when the entire optional is set to null?
Add function to existing type/struct
Answered
What's the current state of working with dates in zig?
Standard Library
0.11.x
Get modifiable buffer from const
New User
First time trying Zig problems with reading and parsing a csv
Answered
Tests on one level with src directory
Can you tell me how to send a request with json in the body of an http request in zig?
Empty array for JSON representation?
0.11.x
New User
Answered
Help testing a container
How do i make a struct for a struct to point at?
Translate the given C macro into Zig
error: no field named 'str' in enum 'tokenizer.Token_Type'
vulkan error
New User
Cannot send http request
Is this legal or will it cause some kind of segfalt?
New User
0.13.x
New to ZIG
Is it safe to pointer cast between *T and *enum(T)?
Answered
How do you debug `zig cc` exe on windows ?
Error field inside Struct
0.11.x
New User
How to convert int to string ?
Answered
Packed `?u7`
In debug make two instances incompatible
Check if type is a generic of a certain function
Answered
How do I obtain the hash for a zig package (for a build.zig.zon)?
0.11.x
New User
Answered
comptime state
Issues with zig's TLS client
Standard Library
0.13.x
This could *only* be caused by miscompilation, ~right?~ WRONG!
Answered
0.13.x
Iterating over HashMap values
Answered
Reading Keys on demand
Answered
how do I create a file using the filesystem createFile using input from my terminal ?
Standard Library
Answered
0.13.x
Zig exported function to WASM doesnt work
0.11.x
New User
Answered
Allocator vs mutable output best practices
Multiple variable assignment?
detect zig cc compiler in C?
Answered
Join multiple lines from buffer into sets of lines?
comptime known struct field?
Interpret []u8 as []f32
How to create a zig library that can be used by others?
seeking for something like procedural macros