zig-help
@clz on x86
Is there a way for `zig test` to emit results to file in a structured format (json, xml, w/e)?
function parameter matrix dimensions based on length of other parameter
New User
Answered
How to create a standalone Zig Library/Engine for App Entry Point and Core Functions for use in Zig?
New User
0.13.x
Creating fixed size matrix at runtime
New User
Detect cyclic type at comptime?
`Undefined reference to symbol ...` when linking Apple frameworks
Answered
array multiplication factor must be comptime-known
Answered
What is the plan to get async/await/suspend/resume back?
Answered
Creating recursive types with @Type?
zig cc cannot build cgo binary with pam dependency
Iterate flags
if expression as a parameter to an extern variadic function segfaults
0.11.x
Compiler
Answered
Docs missing contents?
New User
initialize large array at compile-time
Answered
Switch on a u8 slice comparing against enum
Standard Library
New User
What is the definition of a "package"
zig build system randomly changes and creates mysterious files with long, special-character names
Unable to do a mutable pointer capture on the result of array.popOrNull()
can I create an an arbitrary bit-width integer whose size depends on `usize` e.g. `u(usize - 4)`?
function to sum numbers
Answered
read lines, append to a stack, put inside a struct after
0.11.x
New User
Path relative to calling point
Array of modules?
New User
Answered
0.13.x
comptime output
Answered
transitive failure
having trouble static linking sdl2
Confusing behaviour with []u8 variable
0.13.x
I'm flabbergasted: "error: file exists in multiple modules"
Is there some ChatGPT-like trained with Zig only without hallucinations?
types should be the same
Answered
postgreSQL API MacOS
libcurl - zig build segfaults
Compiler
0.13.x
unable to resolve function type clang.TypeClass.MacroQualified
Target platforms and architectures
New User
How to memcpy bytes to void pointer (*anyopaque)
0.11.x
Compiler
New User
Using VirtualAlloc2 - undefined symbol
Run subset of tests: unit vs integration
integer overflow in totalSystemMemoryLinux
Which version of these ifs is better?
Answered
Importing same source file with different parameters
Answered
struct field is const, but why?
New User
Answered
How to export symbols from an executable?
Compiler
0.11.x
Answered
0.13.x
undefined symbol: getcontext compiling for Android
Segmentation error when freeing memory
0.11.x
Compiler
Answered
zig build massive slowdown
Compiler
Pointer Conversion from Slice
New User
0.13.x
How to check if argument is a string?
How do I create an ArrayList with a predetermined capacity in Zig?
Size of FixedBufferAllocator for MultiArrayList
New User