zig-help
Custom build step which generates a test file and then runs it
Standard Library
Answered
is there a way to tell zig to print using 'normal' floating point style by default
how to get a debug build of zig that's capable of compiling anything?
Acceptable string format for stringified JSON
Standard Library
Cleanest way to get a string from enum value?
Unexpected size for packed struct
Compiler
zls -- `Failed to await zig ast-check process error.AccessDenied`, anyone ever seen this?
Getting empty build error
recursive formatting
Standard Library
how do I use `emit_h` of zig build?
New User
Struct whose field must point to another field
Is there any concept of `private functions` in zig?
Enabling tracy
How to store fn pointer in extern struct?
New User
Static Local Variables lifetime
New User
Would nested arena allocators work?
Why is this assignment invalid?
How does comptime work
Concat-ing 2 slices without allocating
Converting C code to Zig (pointer confusion)
New User
threadlocal variable address
It 's possible to do pointer arithmetic on many-item pointers... why can we not compare two ??
Create a slice from a pointer
New User
when I use optionsStep.addOption
`std.fs.renameAbsolute` wrongly thinks path is a directory (`error.IsDir`)
equivalent of system() in c
Misc questions zig AOC2022
stage2 struct depends on itself
how do you reverse a string?
Answered
Multiplying u8 integers into a u32 integer causes a panic. Is this normal?
Dirty flags
Need help inverting an array
Using missing os functions (eg setsid)
Getting the type of a declaration from [at]typeInfo
Getting the unqualified typeName of `T`
use_stage1 removed from build.LibExeObjStep?
error lld-link __stack_chk_fail was replaced (when linking to a prebuilt C library)
New User
zig says pointer type is a non-pointer type
stack overflow
Compiler
New User
debug performance
Compiler
New User
Questions about fixed buffer allocator
Confusing behaviour with allocators and WebAssembly
New User
Is this correct?
modifying items inside ArrayList
std.heap.Allocator not marked pub
Compound literal equivalent?
Weird calls to alloca
Should errors be defined?
What is the equivalent of Go's `map[string]interface`
Convert a `c_uint` to `usize`