zig-help
Best way to find string pattern
Standard Library
0.13.x
Documentation for the zig command?
New User
Answered
How to convert slice of slices (list of strings) to C pointer of pointers for C interop?
New User
0.13.x
Format print C char array as null terminated string
0.10.x
Standard Library
New User
Answered
Zig Language Server Latest Version not working
Is there a better way to write this abs conditional?
Does `zig cc` have file caching/dependency management by default?
Compiler
Embed
Way to ensure layout of fields in union
Simple web server
What is the relationship and use of the cache-dir vs global-cache-dir?
Calling a function from a lib
Need to create an empty log function in freestanding wasm
zig cc seems to strip debug symbols?
How to check if a non-exhaustive enum value is defined
Reference to BoundedArray element?
Standard Library
how to free a pointer which may or may not be heap allocated
Answered
Imported package has no types (unknown)
error: no field named 'field_type' in struct 'builtin.Type.StructField'
How does one store an array inside a struct?
Is it idiomatic to `@import()` a Zig file with an upward relative path?
Generic Reader/Writer
ziglings exercise 63
New User
Zigmod Help
Answered
Any tips for using raylib with zig (in particular, what bindings to use)?
Getting SIGSEGV with big array in function
0.13.x
For loop with range
std.PackedIntArray.get() and std.mem.readPackedInt() access bits backwards for bit sizes less than 8
Standard Library
Answered
0.13.x
Code review (Advice)
How to do comptime fn return type dependent on comptime argument?
Answered
Why does the zig ecosystem seem so bare?
zig-imgui has outdated build.zig, how can i fix it?
Help writing to a file
Trying to port CPP build script to Zig: "unknown type name: 'requires' "
Is it possible to initialize an slice with a position and the length ?
New User
Nested Container Tests Documentation
0.10.x
New User
Answered
0.13.x
Type of StringHashMap
How to take input from console in zig?
New User
Answered
Better way to iterate of command line arguments?
Standard Library
New User
How to debug build.zig?
0.10.x
New User
Why does creating a comptime linked list or tree work? How does lifetimes work in comptime?
Answered
Why my algorithm 4x faster (it is not, bug in bench) in Zig compared to Rust?
0.13.x
Library cross compilation targeting aarch64_32-linux fails during sub-compilation of compiler_rt
Compiler
0.13.x
C pointer in `extern` forward declarations
New User
0.13.x
Using `zig cc` to cross-compile from macOS, targeting MS ABI / PE/COFF image throws error at linking
0.10.x
Compiler
what's the right way to do comptime "return type inference" in zig
What does an allocator.alloc return?
undefined is truthy?
Is there a way to check if an array index is empty or not?
Answered
How to extract if caller argument is comptime known in function?