zig-help
Dealing with errors (switch)
New User
Answered
bypass undefined behaviur check
Answered
[solved] Return ArrayList from function. `result.list` works inside, but not outside
Answered
Rewrite Rust code with traits on Zig
Tests in structs?
New User
Answered
0.12.x
[solved] How to create a set[T] where T is any type? (aka HashSet or similar)
New User
Standard Library
Answered
0.13.x
How to get the home directory in zig?
Answered
Equivalent to Rust's if let
how to cast a single value to a slice
Answered
Reflection on function parameters
0.13.x
Why no byte type?
0.13.x
Understanding segfault messages
[solved] Understanding undefined
Answered
Why iterating over elements of std.os.argv is printing the same pointer address?
Answered
get context of `MissingField` error in `std.json`
How to get the output of a command into a Zig "list" of things
Standard Library
New User
0.13.x
Save location for TranslateCStep
Answered
[solved] Best way to combine a std.ArrayList([]const u8) into a single []const u8 separated by ' '?
Answered
How to @import module root
Build System
0.12.x
[solved] @import a file that has a main. Is it legal?
Answered
Create an array of strings to pass to a C function
New User
Answered
0.13.x
Pointer gets invalid from unknown reason
Answered
init a array of struct with feilds of zero
New User
Answered
0.13.x
shared state within handlers
github CI workflow error: unable to find zig installation directory
sqlite lib specific question i think
Answered
invalid escape character: '0'
reorder comptime array
compiling terminated unextectedly
New User
Compiler
Answered
0.13.x
Why is the lenth of an undefined array in Zig always 16916950?
ziggling 34
New User
Answered
Cross Compiling
Build System
Compiler
0.12.x
Run a Specific Test Method
[Solved] Soooo-
Answered
0.13.x
What is the zig way to poll over multiple files?
0.14.x
Standard Library
Answered
What's the difference between anyerror!void and !void?
0.13.x
[solved] How to index from an EnumSet?
New User
Standard Library
Answered
0.13.x
Import working on "zig run" but not on "zig test"
including zig library in my project
wasm performance
std.mem.Allocator.resize use
Answered
compile time peer type resolution without a hack
0.13.x
What is "unable to resolve comptime value"?
Answered
Is this the best approach to match on a bit flag?
Answered
0.13.x
Fastest way to copy struct?
Comptime append
Convert enum to union(enum) with same tags?
Parse multiple ints from c string
Make bindings nicer by declaring methods in opaque {}
Answered
0.13.x
How to parse JSON from client.fetch {.response_storage = std.ArrayList(u8).init(alloc)}