zig-help

21196 threads · Page 265 of 424

Convention: Function only used at test time 6 messages
Error: ProcessFdQuotaExceeded 5 messages
undefined value in anonymous struct 51 messages
std.os.O.NONBLOCK 2 messages
Arraylist but only on the stack 4 messages
New User
Understanding http.Client error.EndOfStream 8 messages
Standard Library Answered 0.13.x
passing a single pointer to a function that takes a slice of pointers 5 messages
Troubleshooting compiler terminating early 5 messages
Logging? 34 messages
Answered
Metaprogramming a switch 28 messages
Cryptic error message. Compiler segfaulting?? 74 messages
Compiler 0.11.x New User
Bitwise operators and type coercion 10 messages
Casting from int to float 3 messages
Answered 0.13.x
How to do `vpshufd` with `@Vector`? 3 messages
Answered
Power of two function 22 messages
How to move tests into a separate file? 11 messages
Answered
How to set the build output 2 messages
New User 0.13.x
Using build.zig.zon to build non-zig dependency that doesn't ship a build.zig 11 messages
0.11.x New User
How to build with CEF on macOS 4 messages
Is there a way to get the body of a function and change it at compile time? 5 messages
Confusing memory leak from array list 5 messages
New User
Problem with reading file 14 messages
Comptime std.ArrayList does not accept my struct as a type 13 messages
Standard Library New User
Get [*c]const u8 from std.fmt.bufPrint? 2 messages
Sort an array based on a enum 2 messages
0.11.x
Switch on strings? 11 messages
Comptime initialize array with non-contiguous values 5 messages
how to get rid of error: local variable is never mutated 28 messages
Failed declaring a string 8 messages
Some questions about allocators 2 messages
Answered
Help with casting arrays/slices, changing length 8 messages
Answered
Strugling to fix - expected '?*const anyopaque', found '*const [][3]f32' 39 messages
JSON parse weirdly returns empty string 11 messages
Create a union instance from a string 5 messages
Answered
how to set default value for null? 10 messages
can i use same allocator for everything 6 messages
Runtime error 4 messages
How to include stdio.h in Zig 17 messages
Access C global variables from Zig 2 messages
json stringify union as just the active field value 28 messages
Failed writing file 7 messages
Left bitshift expression 4 messages
0.11.x
How to convert build'a addImport() to be dependencies? 2 messages
Problems Linking SDL2 to zgui on Windows 4 messages
Answered 0.13.x
Updating for latest build system changes - error: unable to load '': IsDir 41 messages
error: value stored in comptime field does not match the default value of the field 47 messages
Cursed / Lazy solve for Pangram exercise in ziglings? 7 messages
Answered
Error in zig-ecs 3 messages
Answered
Set union value to a `void` union member 4 messages
Answered
An enum member with a different name but the same value 13 messages