zig-help

21196 threads · Page 315 of 424

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