zig-help
Acces the active field of a union
New User
How to guarantee struct field ordering with ArrayList?
Is this done in comptime?
TypeOf(.enum_literal) returns TypeOf(enum_literal)?
What's a frame?
New User
Troubles passing through a struct as a function param
compiling head on macOS 12 with zig build
zigux self referential struct issue
how to know which field is active of an untagged union?
does defer guarantee to run when SIGINT comes in?
Zig Branch Quota Comptime Abuse for ECS and Questions
What 'kind of something' is the [_]u8 part to the right of the equal sign if not a type, for arrays?
New User
Use of enums in zig
Weird, 'undefined' bool is false?
Compiler crash when attempting use comptime ++ operator on undefined slice
Compiler
New User
Initializing anonymous struct in return statement?
New User
Return type of generic function?
What should be inlined?
Is General Purpose Allocator performance expected to degrade as the number of allocations increases?
ArrayList in struct const ?
Is there a way to easily choose struct ABI (lazy or extern)?
Can I hide logs from my functions when using test blocks?
Getting an `IterableDir` from a `Dir`
Formatting compileLog
gsl complex vectors, compatible with C
Check if function return type is an error union
Handling multiple error statements consecutively
How do you import 3rd-party packages?
index out of bounds while reading
possible to run zig fmt as a build step?
Troubles with pointer arithmetic
enum cast
How do I use `zig build-exe --debug-log`?
Can't get cImport to work at all
how show heap usage at runtime?
Get time since epoch in seconds
Standard Library
Why do I get a segfault when my HashMap is declared globally?
Standard Library
Compiler
New User
Bad memset and memclr for Freestanding ARM (Playdate)
build_options example
Switch on String
zig build, copy build artefact to directory
Efficient Method for Integration Tests
How to Custom Build.zig Test Mode
How to pass const [110]u8 to a function as []u8
How to emit autodocs
How to use and call function pointers
Creating a tagged union in an `inline else`
Check if `anytype` is a part of a given enum?
Supplying a dependency of a dependency
is it possible to add fields to a enum dynamically?