zig-help
Get smallest type that represents an integer literal
New User
Answered
Switch on anyerror
incorrect errors from called function
ZLS is not working properly in vscode
New User
Incorrect upcast in Reader
New User
Answered
What would be the proper way to use to for loop in this situation?
std.os.bind error ?
New User
ReleaseFast (problem) vs ReleaseSafe (okay) how to debug
How to transform a type X to [*c]X
How to fail in build.zig?
I think I found a bug in the std lib for parsing integer.
Answered
Redirect child process stdout to stderr
How include functions from another file as methods of a struct (and be able to use "dot syntax")?
Answered
Replace parts of std?
[solved] Invalid option: -Dcpu using ZGL
0.13.x
Only emit binary for a test
0.11.x
New User
Answered
Writer interface like Allocator
Answered
export fn string parameters
How to setup argv_ptr for execvpeZ
`reader.readAllAlloc` seems ignoring `$` sign in byte stream
Unclear compile error moving to Zig 0.11
Compiler
0.11.x
Using raylib with zig.zon
New User
Answered
freed memory is "leaking" inside a switch?
Answered
A very weird bug...
Answered
Unexpected Type Mismatch
safety of `mprotect` on memory returned by zig allocator
Standard Library
0.13.x
how do i create a windows dll?
Porting crafting interpreters to zig
How to create `HashMap` that can contains any type?
Accessing fields in struct
std.fs.openDirAbsolute makes exe return 1 in ReleaseFast builds
Answered
Array as function argument
fail to access member of a cimport struct
Answered
How to pass [_][]const u8 {"a", "b"}; into a function?
0.11.x
New User
The Ziglang Github guide on building LLVM is outdated: Updated instructions wanted.
Compiler
New User
Answered
Contradictory compile error?
Answered
Getting array-length of a struct field at comptime
Answered
How can you tell if a many-item pointer is sentinel terminated or not using @typeInfo?
Answered
cc `error: -lLIB: 'linker' input unused` when trying to compile C
Answered
0.13.x
zig cc: can we use atomics on armv6l
Testing with different types
slice from many item pointer
Args printing path of executable
lld link: Undefined symbol
Answered
Create HashMap with string key and fp
Create a generic type w/ an Allocator
Why are there zig-cache strings in my release build?
Passing struct with internal alloc around using `@intFromPtr` and `@ptrFromInt`
New User
0.13.x
About new `zig init` command
Am I using defer/errdefer correctly?
Answered