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