zig-help
Slicing with [N..]
Answered
CallConventions and IntPointers
Answered
Allocate tagged union on the heap
Answered
Is there a max array length or such ?
Error: expected i32 found u32
Standard Library
New User
make compile step depend on other step
Answered
Help explaining anonymous struct literal syntax
New User
GeneralPurposeAllocator vs std.heap.page_allocator
Is zig "The new C"? What is this language meant to be, what does it achieve and so on.
FixedBufferAllocator for anytype
New User
0.13.x
build.zig change install directory
Answered
Unable to build zig compiler from source with ninja
autodoc as build step for module
Answered
@intFromFloat and other casts on Vector types.
Answered
*const T vs T errors
Answered
zig fmt incoherencies
Linking headers for iOS
Compiler
Am I managing the memory allocation correctly in this code?
Ephemeral Port Numbers
Standard Library
New User
Answered
std.fs.Dir.makePath requires a subpath but abspath also works. Is this a bug or feature?
Answered
Failure to fetch packages when building ZLS?
Create function at comptime?
Standard Library
New User
0.13.x
Question about std.heap.FixedBufferAllocator
Answered
@shuffle lookup table without branching
New User
std.meta.Tag and activeTag are all comptime
Iterating over array of optionals
New User
Answered
Test only succeeds with a print statement in function call
0.10.x
New User
Get path of emitted obj file in make function
Answered
Convert comptime anytype to function args
Does the stdlib have a hashmap that works at comptime?
Does comptime emulate an abstract machine or the local machine?
error: expected a tuple, found ..
Compiler
New User
0.13.x
linking a static C library returns undefined symbol error
Compiler
New User
Answered
Accessing anonymousDependency
Compiler
type 'type' not a function
Do we really need the use of @intCast and @as in the following case?
New User
Answered
0.13.x
Package Manager Docs
Standard Library
0.13.x
addModule? createModule?
Stacktrace printing not working on Windows (zig 0.11.0)
Standard Library
Answered
Some questions regarding left shift operator
New User
Answered
0.13.x
Pointer alignment casting behaves strangely across function boundaries
Answered
gl.gladLoadGL() fails
Answered
JSON missing optional field as null
Answered
Raylib file drop
Answered
mach-glfw example freezes on aarch64-musl platform
Are slices inherently non-comptime?
how do I make build.zig call itself
How to ensure a function is called only once with `comptime`?
How do I change the target abi?
Answered
Request for ideas on multi-target C source project build.zig
Answered