zig-help
Select an allocator based on the optimization mode
what's the canonical order of arguments for functions that take both allocator and comptime value?
Answered
access of union field 'number' while field 'number' is active
Surprising behavior when combining += with result returned from catch expression
Compiler
0.13.x
Am I calling my jitted code wrong?
0.13.x
Dynamic nested tests
How to quickly format the content of ArrayList and OwnedSlice?
Answered
Segfault when appending to ArrayList
How to wrap an owned slice into std.ArrayList interface?
Answered
@typeInfo for struct comptime field type
Answered
C backend with build.zig
Trying to add a zig library
minimal build.zig for wasm, zig version 0.12.0-dev
What the hell I am doing wrong here?
Formatting numbers with hexadecimal in varying endianess
Standard Library
0.11.x
New User
Zig as C build system
How convert std.process.argsAlloc of [][:0]const u8 to smth more std.os.argv [][*:0]const u8
Help with a compile error relating to function pointers and comptime
New User
Answered
Force runtime evaluation of a function
New User
Compiler
Answered
0.13.x
How can I create an array of integers like an array of strings?
Weird behavior when trying to print ptr to packed struct value
Compiler
New User
reading a file in zig
Standard Library
0.11.x
New User
Answered
How to use the stage2_backend_x86_64 backend
Answered
How to convert `stdin.readUntilDelimiter(x, "\n")` to non-deprecated equivalent
New User
Standard Library
Answered
0.13.x
zig test - global setup and teardown
How do I make a range over floats?
Fibonacci Using Hashmaps and Recursion
New User
terminate current process on Darwin
How to set a custom panic handling function on zig master?
Answered
0.13.x
MSVC Issues
Can't seem to get http.zig working
Help with HashMapUnmanaged memory leak
Standard Library
Answered
How do I access files in a dependency?
Answered
use external tool from the build system
Standard Library
Unsure about how hashmaps are supposed to be allocated memory.
Answered
Why are pointer to different numbers the same?
Help needed: best practices for testing
Compiler
New User
0.13.x
Standard Library
Answered
error: expected type '[]const u8', found '*[*:0]u8'
Get the length of a request.
Unexpected tuple unpacking behavior
Answered
Cannot cross compile to MacOS/Linux from an M1 Mac
Compiler
0.11.x
New User
How To get More infos from compiler
How to Initialize Nested Structs with Pointer/ Reference
New User
Answered
Does std have a `lessThan` function designed for sorting strings?
Waiting for a file to be unlocked in multithreaded app
Answered
How to Link Address Sanitizer (asan)
Efficiently converting i of type usize to i - 2 of type f32
Answered
What is the subsystem in the zig build and what does it do specifically?
for a struct I write, can I make plain struct initialization inaccessible to users?
0.11.x
is there a `zig lib` equivalent in the zig build system?