zig-help
How can you include local .h files using @cInclude?
Answered
What do return values other than ``void`` do in the main function?
Answered
tagged unions with common fields
Answered
Change the tag of a tagged union
Answered
Passing an arraylist to a function, struct, or returning ArrayList from a function
Answered
Disable formatting?
Compiling the impossible (compiling hermes to wasm)
packed union assignment issue
how can i export zig fn with var args?
Compiler crash, next steps?
trouble with @cImport-ing raylib
New User
Is there a way to initialize a pointer within a struct returned from a function?
Is there a quick way to get the current executable name?
New User
Answered
Cant print items of ArrayListUnmanaged
How to make the compiler emit `vpmovmskb` (aka. "create bitmask from vector of bytes")
Answered
Is Zig's linker faster than clang/lld?
union field from tag
OutOfMemory error for a GeneralPurposeAllocator used in a AutoHashMap
Answered
How can I set void type in extern struct?
Is using opaque in Zig a bad thing?
Issue when compiling zig-exe linking to libharu
Convenient way to check Array contains / if elem in array?
Answered
Testing a C library
Compiler
Trying to use freetype & harfbuzz from mach-freetype and getting an @import error
Adding options to build.zig
Standard Library
Answered
How to organize game structs
[*c] types in zig
Answered
Building C with Zig on Windows and debugging e.g., via RemedyBG
comptime hashtable with function pointer
beginner needs help
Answered
Local variable shadows declaration
Keccak is not working?
Standard Library
New User
What's the syntax for initialization an anonymous tagged union outside of the containing struct?`
How do you integrate a library with Zig build?
Answered
Conditionally including fields in a struct file
How to reinterpret u64 as std.os.windows.HANDLE
Error handling with messages in Zig
pointer value not based on parent struct
segfault when using `pub export fn _start()`
is there a downloadable version of the stdlib docs/language reference anywhere?
Answered
Ignore addSystemCommand exit codes
Answered
How to edit ZLS config.json?
Answered
How can I clean up this code?
Quick Way to Copy from `[]const u8` to `@Vector(..., u8)`?
Avoiding comptime arg and const member shadowing
How to Embed the result of addObjCopy steps into a binary?
union size
zig c++ compiler doesnt know __popcnt SIMD intrinsic
How to update package -> module for latest zig
Answered
What is the intended way to handle `OutOfMemory` errors?
Answered