zig-help
Get keyevent in terminal?
Standard Library
Answered
0.13.x
Foo.zig vs foo.zig
Is it possible to have comptime type inference as a fn return without passing the type as argument?
Answered
is there a way to avoid this code duplication?
0.12.x
How to unittest functions getting as a parameter `std.zig.Ast`
Answered
Faulty tests?
New User
0.12.x
Weird errors where I cant "try" something that might return an error
Answered
build.zig: LazyPath vs absolute paths
Optional addInstallDirectory
Build System
Answered
Are array accesses UB if OOB?
New User
How to declare `extern` function with explicit error set?
Build System
Answered
I need to access `textures/owl.bmp` through `src/main.zig` with `@embedFile`, how to?
0.12.x
How to properly return an extern struct in wasm32-emscripten target?
New User
How to temporarily ignore/suppress memory leak error messages in std.testing.allocator?
Can't write from string from stdin to stout
Answered
How to send socket data in std.posix
Best timestamp for benchmarking?
Asserting first x bytes of integer are 0
0.12.x
How do you move a file to a new destination?
Retrieve exit status code of child process
Answered
Raylib but more about build.zig and run
New User
0.12.x
error - crash
Answered
Running zig test on a module which imports a .zig file from the parent directory results in error.
Build System
New User
Answered
0.12.x
no switch with a string
New User
Answered
0.12.x
Triming file input
New User
Answered
posix issue on macos
Change default test parameters
Build System
Answered
@offsetOf and arrays
zig/lib/std/fs/File.zig Stat struct has not created at field
Autodoc: How to emit docs using `zig build` as opposed to `zig build-exe`?
Answered
Narrow type of anyerror to check all error union states?
0.12.x
build.zig allowing to loop through files in a directory and add them to a comptime hashmap
Answered
Initialize an array of 200 items
Can I collapse these 3 loops
Answered
is it possible to capture an optional as a var?
Answered
Visual representation of compiletime vs runtime constants
0.12.x
On scopes and lifetimes
Answered
ArrayList, appending struct causes overwrite on previous values
How to open home dir with `~`
Answered
implementing event loop
Standard Library
0.12.x
Unwrapping Array of Structs While Iterating
0.11.x
Step Over on Windows on VS Code
Common causes for windows-fine program not running on linux
Can't seem to set stdin in std.ChildProcess
New User
Standard Library
Answered
0.12.x
Using godbolt and zig
0.12.x
Will Zig get Bounded Generics?
Standard Library
0.11.x
zig cc standard
Answered
hlep hash nu match
Answered
zig build c/c++/assembly
Build System
Answered
0.13.x
taking in `self: Self`
New User
Compiler
Answered
0.12.x