zig-help
check if `T` is a integer type (i32, usize, u8, etc) or a float
Answered
0.12.x
How to `rewind()` file?
New User
Answered
0.12.x
How to Root File
"register" allocator data structure
Standard Library
0.13.x
Are debug builds of the compiler available anywhere?
Compiler
Answered
0.12.x
Initializing struct with pointer to anonymous struct
Answered
Slice of strings.
Answered
Using SDL.zig with build.zig.zon
0.12.x
How to link against shared libraries that end like "lib(...).so.1"
Answered
Why are types created with the same syntax as variables
Answered
0.12.x
raylib, 0.12, package manager
Answered
0.12.x
@field for methods
Runtime manipulation of type
Answered
0.12.x
Where to import TCP.NODELAY on osx?
Iterating through multiple constants
Error: unable to find zig installation directory: FileNotFound [Windows]
Compiler
Answered
Why is the allocator not passed as a ptr in the std lib?
Answered
how to setup to be able to use Build.linkSystemLibrary?
New User
0.12.x
Array Indexing
Answered
exe.linkStaticLibrary(glfw) cannot locate `.dylib` files by default (MacOS)
What's wrong with my string concatenation / OS switch statement in this build.zig?
HashMap dealloc with structs as values
Can I use `ArenaAllocator` as a linear allocator?
Standard Library
Answered
0.12.x
Provide pure C library as a static module
C Import failed
error: expected type 'type', found 'comptime_int'
New User
Answered
0.12.x
Cannot figure out correct data type to pass to Vulkan function
New User
0.12.x
Is there a better way to add relative path in build.zig ?
Compiler
Answered
no field or member function named 'deinit' in error{OutOfMemory, InvalidCmdLine}!process.ArgIterator
0.11.x
Answered
Are there tools for: race conditions, memory leaks, ... in Zig ?
Possible workaround for TLS bug?
Creating a constant array of structs, containing arrays
0.13.x
Looking for feedback on dependency management
New User
Answered
0.12.x
When doing allocator.create() its always the same value that pops out
Answered
How can I refer to a function's return value from within a `defer` statement?
Answered
`inline else` an incomplete enum (`_`)
error: comptime call of extern function
Pass a function as an argument
0.11.x
error code 5 while building with `run`
0.13.x
Compiler
0.12.x
Interface context pointer casts
Zig is lack of abstraction
Answered
How to use std.posix.execvpeZ
namespace variants at comptime: is this the idiomatic approach?
Answered
Function parameter is casted to a const pointer by anytype
Help optimizing a function
Get original type of anyopaque in comptime
0.11.x
Answered
madd simd
Slice of pointers to slice of non pointers
Answered
0.12.x
Help with deinit
New User
Answered
0.12.x
How to compare and get the active field of two tagged unions with the same tag
Answered