zig-help
proper way to do mixins or interfaces or something alike
Get active tagged union type
ArrayList and memory leaks
New User
Looking for a platform-independent calling convention
Answered
crash in valgrind --tool=massif
c-translation started failing 4th november
How to lower the alignment of a packed struct?
import into file
comptime typeId | RTTI
Is `anytype` the only way to make generic function parameters?
Is there a way to switch on an enum range
How do i shift a number by an enum variant?
how to use slice of types
Combining two fields of a packed struct into one variable.
std.mem.copy doesn't copy sentinel?
Specifying byte-order (endianness) of struct fields
New User
How do i create MMIO struct?
Catch error from `void` function
Catch specific errror and let other errors propagate?
obtaining type of elements of unallocated slice ... any danger of this?
Is it possible to let zig infer anytype so that I can pass less parameters to the generic?
How to run specific tests using subcommands
Construct Union with Tag and NoUndefined Value
compile qrcodegen.c to webassembly
Conditional evaluation of parameter
confusing error message from std.testing ... meaning swapped ???
What is the best way to use the pcmpestri instruction?
Variable falsely optimised to 0
Wanted to try zig 0.10.0, brew install is broken
can't run vulkan-zig example because of errors
New User
ziglearn version?
Errors upgrading 0.9.1 project to 0.10.0
How to fix `evaluation exceeded 1000 backward branches` in an external lib with setEvalBranchQuota
Zig bloated stdout inline while
Small binaries
Is it possible to build a zig only windows driver.
Compiler
Answered
ChildProcess spawnAndWait() error
New User
Generic Types
ElfDynLib don't open library - ElfHashTableNotFound
Running Tests With Packages
Should I return catch return, or just return catch?
What's the default callconv for extern fn?
install zig on windows with pacman on msys2
Packed anonymus structs doubts
New User
Facing issues when using `mprotect` and casting int to pointer + VSCode inlay hints
Standard Library
New User
Printing type names in zig
Is there a shorter way chain optionals?
Dynamically create and return array of length n
New User
How to grow a slice?
C import failed
New User