zig-help
Convert in 1 line instead of passing by a temp value
Answered
How to identify the error position with only these info during test?
New User
0.12.x
Custom linker command with object
Answered
0.13.x
Detect memory leaks with c_allocator
0.12.x
`link_libc` and syscall wrappers
Standard Library
New User
0.12.x
guarantee over validity of pointer-past-the-end of a slice
Updating to 0.12.0, should @memcpy or std.mem.copyForwards be used to replace std.mem.copy?
return address to stack memory, should this fail?
Is it normal that zls cannot show errors sometimes?
New User
0.12.x
Multi-threading in Zig
New User
Answered
managed vs unmanaged
New User
Standard Library
Answered
0.12.x
syntax
New User
How to get node value from zon file
Install artifact to non-prefix path
0.12.x
Get union field type
Answered
[SOLVED] building with or without zig build system
New User
Answered
Cross Platform Programming - Platform Specific Code
0.12.x
How to free memory from fs.readToEndAlloc?
New User
Is it possible to use std.sort.insertion with std.packed_int_array.PackedIntSlice somehow?
Standard Library
New User
Answered
Comptime operation is runtime due to operand... but operand is `type`!
0.12.x
Building raylib-zig for Wasm "error: unable to spawn mkdir: FileNotFound"
New User
0.12.x
Is it possible to cast bytes to []u32 in big endian mode?
What's the difference between these two declarations?
New User
Reasons to avoid storing errors?
Read contents from folder
New User
Standard Library
Answered
0.13.x
Linker flags in Zig build
Are these two statements equal?
New User
Answered
0.12.x
Unable to find package panic
windows async: detect I/O completion port running full or restrict it to certain job unit events
Standard Library
0.12.x
Answered
0.13.x
How to set command line arguments, for testing purposes.
Content of []u8 is mysteriously overriden when passed by parameter
0.12.x
Running function using comptime function name
Answered
Discerning if a type is an instance of a generated type
0.12.x
How to match on []const u8 in compile time switch statement
Adding dependency | build.zig
Change value in [][*:0]u8
Answered
Problem with lazy dependencies
Standard Library
Answered
0.12.x
Question on ownership when cloning
FixedBufferAllocator and an ArrayList in a Struct
New User
Standard Library
Answered
0.13.x
Running `zig build test` is stuck at run tests step forever
Answered
zls fails to resolve cimport
Answered
Inscrutable error while parsing JSON
Transform for each element.
Answered
Zig build: possible to add directory of C files, instead of individually?
Early return with nullable
Can you have both a capture, condition, and increment in a while loop.
Init const array on compile time
std.os.getenv is unavailable for Windows because environment strings are in WTF-16 format. On 0.12.0
Compiler and language server don't properly display errors.
Compiler
New User
0.12.x
Can't call member function on struct initialized struct
Answered
0.12.x