zig-help
When not to use `inline fn`?
New User
using Thread.Mutex in a struct field
New User
Answered
Zig tokenizer example fails to compile
Standard Library
New User
0.13.x
Zig generic programming question
New User
Should I pass by reference or pass by value?
Answered
recursive (union) type design question
Answered
Where is `os.exit`?
Answered
out of memory error on a Child.spawn()
Standard Library
New User
Answered
Test files which reference `@import("root")`
Build System
Answered
0.13.x
`std.process.Child` and program architecture
Standard Library
New User
Answered
error: root struct of file 'subfolder.sub' has no member named 'name'
Build system: Set b.addOptions depending on current step?
Build System
0.14.x
Splitting strings accross multiple lines
0.13.x
Is ZLS formatting my code?
Answered
Error: unable to check cache: stat file
0.14.x
New User
Answered
How can I construct a Slice type?
0.13.x
how to mimic functionality of c's `system()`
Answered
Using `addSystemCommand` to pre-build a dependency
Answered
Do I need to free a []u8 that I constructed from calling Arraylist.toOwnedSliced()
Standard Library
New User
Bind header and shared object files
Build System
Answered
0.13.x
@ctz does not work with comptime_int
New User
Answered
[solved] Overengineered Makefile to build.zig: How to uncrustify per-folder compiler flags?
Answered
Appending to a comptime variable length array
Answered
0.13.x
Is it possible to build an executable only using std.zig?
Standard Library
unsafe memcpy / casting
New User
Answered
0.13.x
Convert *[512]c_char to *c_char
How to check if within test {} clause there is X declaration?
How to handle variadic arguments?
New User
Answered
Is it better to have a `usize` of flags, or a struct with those flags (`u1`'s)?
[solved] How to get the output of pkg-config into a slice from the buildsystem
New User
0.13.x
Build System
Standard Library
Answered
What's an example of how to use std.fmt.formatInt?
Initialize EnumSet with an integer value?
SIGSEGV (Address boundary error)
multiple catch for optionals
Need suggestions on how to implement multiple structs which share extremely similar functions
New User
Answered
help linking webp to wasm freestanding output
Compiler
New User
Please help me fix this infinite while loop
Answered
If statements on errors
Linking to a shared library links to it in the cache folder
Build System
0.13.x
Exercise 82 of Ziglings is bugging me
Answered
How can I destroy a *anyopaque
0.13.x
Is there a function to get the machine epsilon of a floating-point type?
Answered
Is there a better way of formatting strings in build.zig?
compiler not detecting struct member even though it exists
Compiler
New User
Answered
Testing cleanup
0.13.x
Linking against windows dll
Build System
0.14.x
Standard Library
New User
How do I make use of comptime to reuse code in this case?
Answered
My vm is not doing fibonacci
arena.allocator().alloc(...) and other problematic usage patterns.
Compiling Zig project that depends on C++ library to WASM for the web
Build System
Compiler
New User
0.13.x