zig-help
How to Disable avx512 via build.zig
Answered
Max value of u16
Answered
calling C atoi from zig segfaults
New User
Answered
0.13.x
A slice of tagged unions into a slice of tags
Answered
empty struct of decls
Answered
String array merge for C compatibility
New User
0.13.x
How to get zig-out directory for run artifact?
Build System
Answered
Zig Expects Unused Variable to be Comptime?
Answered
Naming convections
Answered
Zig build error that I don't understand
Offset of nested anonymous type
Answered
0.13.x
Multitreading question
[solved] Which []u8 type is the most compatible with C?
Answered
error: no module named 'webui' available within module main
expected type '[*c]u8', found '?*anyopaque'
getting a integer from big endian bytes?
std.json.parseFromSlice with colon in key
Answered
std.fmt / "too few arguments" not giving line numbers/traceback?
Answered
Formatting numbers with leading zeros
Zig http server
Answered
Array of function pointers
Answered
Any significant difference between `switch` and `comptime switch`?
Compiler
New User
0.13.x
Why can't I print a slice
0.14.x
New User
Answered
how do i free this memory
0.14.x
Answered
Passing a context struct to a function
How to import the method of other zig projects
Answered
Syntax: Pointer to anonymous inline struct
question about defer
Struct initialization convention
Answered
There are so many different ways of self's type for struct method and I don't understand when to use
error: Expected c_import.T found lib.T
Build System
0.14.x
New User
Is this common or am I doing it wrong
Answered
Best way to handle slices with union(enum)
Small binaries
Dependency loop detected
How does one pass multiple enum fields as a single argument to a function in zig?`
Debugging "zig build test" is not supported yet.
Build System
Compiler
0.13.x
how to deal with arraylist of allocated items
Why can't zig infer this type?
Compiler
New User
Answered
readFile returning `ErrorUnion.error_set`
Standard Library
New User
0.13.x
Is carrying a pointer outside of a block safe?
Answered
Generic functions and ArrayLists
Generate C header code from build.zig
Build System
0.13.x
InstallDirectory and run step
Build System
Answered
0.13.x
Why am I getting memory leak errors if I deinit gpa?
Answered
Providing a pure C API that can be compiled by the user (independent of Zig)
Standard Library
New User
0.13.x
How to get input from stdout lib
Why does std.math.pow is using unreachable for ints?
Answered
Is it a bad practice to return error from the main function?
Answered
swapping slice data