zig-help

21196 threads · Page 402 of 424

What is the convention for naming folders in zig projects? 7 messages
Unsupported OS 6 messages
Mixed release options 2 messages
error async has not been implemented in the self-hosted compiler yet 5 messages
Why are some files in std importing std.zig? 5 messages
Serious confusion on passing slices through functions 8 messages
Why Zig forces me to return a value here? 6 messages
Quick question about function parameter order 7 messages
many item pointer from interior of a slice, how?? 24 messages
export an alias for a thirdparty C function 8 messages
Putting variadic function as a hash map value 10 messages
Can't `inline for` or `inline while` over a comptime known array length? 23 messages
translate-c chokes on printf env vars and vars declared in IFDEF 16 messages
How to properly use lldb in terminal to debug slice? 6 messages
New User
(Compile) errors on windows, not on mac 10 messages
cross-platform way of getting a directory to install local binaries to 20 messages
`comptime` read file? 33 messages
Use an inline loop to build a generic length array? 17 messages
New User
Is there a `Stack` in the `std`? 4 messages
Does the lifetime of a StringHashMap entry matter? 3 messages
Upgrading code from earlier versions 12 messages
Postgres Zig library 4 messages
Answered
What's the simplest way to make a for loop for x amount of iterations? 41 messages
What's the right way to do for loop from 0 to N 15 messages
Hello Segfault My Old Friend 7 messages
Tail-call optimization not working 2 messages
Program segfaults with -O Debug, but not with -O ReleaseSafe 8 messages
New User
multithreaded LinearFifo 29 messages
binary search alters searched slice 14 messages
Getting size of member field 6 messages
New User
at fieldParentPointer interface parent-child 30 messages
How do I read a file without carriage returns? 62 messages
Standard Library New User
std.log.err breaking testing 9 messages
printing causes a test to fail? 18 messages
OpenSSL libraries with MacOS 8 messages
How to get a json.Value? 31 messages
Segmentation fault at address 0x11a5305d380 2 messages
How to pass array to C? 3 messages
Thinner optional representation for struct types 14 messages
Invert an ArrayList or SplitIterator? 12 messages
Any idea why this segfaults? I just want to cleanup my stack. 8 messages
Share data with async frame 77 messages
Answered
Switch on struct types 4 messages
Enum with non-integer values? 11 messages
Combine packed struct initializations? 8 messages
atomicRmw .Xchg vs cmpxchg 14 messages
Import file names calculated at comptime in comptime 29 messages
fold, map, & other list comprehensions 3 messages
New User
Hashmap, get element and mutate it 3 messages
Can you create a DLL file from C code code with zig lib? 36 messages