zig-help

21196 threads · Page 204 of 424

anytype as function's return type in an annotation 44 messages
Answered
Compiler bug? 21 messages
dynamic function generation 15 messages
Switching tagged union 18 messages
New User Compiler Answered 0.13.x
Optionals inner workings... 8 messages
Answered
Stack vs Heap 4 messages
Answered
understand control flow 4 messages
Answered
Using msvcrt instead of ucrt 29 messages
0.14.x Compiler New User
Slice into first couple bytes of packed struct 26 messages
Standard Library 0.12.x
avoid duplication in build.zig 2 messages
Build System Answered 0.13.x
Can't get tests to run for multiple files 6 messages
Answered
How to make error at comptime. 3 messages
Answered
Reading file line by line into BoundedArray 10 messages
New User Standard Library Answered 0.13.x
LHS bit shift error 17 messages
Answered
[Solved] Make raylib a shared Library 6 messages
New User Answered 0.12.x
Tracking down memory leaks in C code with Zig allocator 6 messages
How do I write a string literal with \0 inside it? 3 messages
Answered
running into issues with IoUring.zig tests 9 messages
why is this int coerced into a comptime int? 3 messages
Multiplication of numbers (carry) 14 messages
New User Answered
Container level declared optional 5 messages
Answered
JSON parse based on version field 29 messages
Answered 0.13.x
stdlib path seperator used by the OS 3 messages
global variable contains reference to comptime var? 14 messages
Answered
Raylib Linking Problem to Windows in Zig C 2 messages
How to kill a process living inside a thread? 5 messages
How to replace std.io.Reader.ReadUntilDelimiterOrEof 3 messages
Answered
Cannot cast into union error payload 9 messages
Can I do something like null only type? 127 messages
Answered 0.12.x
[solved] How to debug SomeStruct.format( ... ) calls? 21 messages
Answered
Struggling with Ziglings 18 messages
New User Answered
Type alias with additional functions or element renaming? 10 messages
Answered
how would i access the c/posix regex stuff from zig? 10 messages
Standard way to get a [:0]const u8 from a []const u8? 9 messages
Answered
Code Review: Lox Interpreter 7 messages
0.14.x New User
How do keywords and @things differ semantically 4 messages
Answered
Targeting the browser 6 messages
How do you add command line arguments to `zig test` 7 messages
Answered
Returning type at compile time based on input? 69 messages
New User Compiler Answered 0.13.x
Memory management handling in structure deinit for StringHashMap 29 messages
Pass an enum option to a dependency in build.zig 2 messages
How to convert an ascii integer to a u8? 4 messages
Answered
C Library with stdint interface? 2 messages
Answered
Comparison of C function to Zig port. 17 messages
Answered
Parsing formatted input 46 messages
Answered
Help understanding multidimensional arrays 16 messages
New User Answered
How to allow multiple definitions of a symbol in zig cc? 4 messages
How to check if a type is assignable to another 59 messages
sizeOf returns 0 9 messages
New User Answered
deinit on value or on pointer? 48 messages