zig-help
How to Compile C code Transpiled from C
Compiler
gcc versus translate-c of c to zig then zig build-exe speed on M1 Mac
help export c function variable
New User
How do i cast a tuple passed as anytype to an array?
Answered
what replaced addPackagePath?
AnyInt type
Answered
What leaked my memory
addPackage not found!
0.13.x
Human readable assembly 0.10.1
Small Questions
Answered
How do I initialize an array of string literals?
Answered
Is there a way to cast a []u8 to a [][4]u8?
Answered
How to Add two optional variables
Make Zig Language in VSCode use older ZLS
How to prevent "Illegal instruction"
Answered
windows, vscode|remedybg: inspect global variable not working
Why doesn't break require a label in nested loops?
New User
Linking to another module
Brainstorming a GUI lib: dispatching input events
Cannot initialize variable to ternary expression?
Answered
Code instrumentation for profiling
Compiler
New User
Answered
re-enable test output 0.10 -> 0.11
New User
Alternative entry point than fn main()
defer freeing of keys in nested block?
Answered
Spilling a struct into registers
@import all files in a folder
Answered
Running defer statements after calling os.exit()
How do I get a pointer to a tagged union from a pointer to one of its variants?
Answered
what does inline mean in zig
*const []const u8 not coercable to *[2048]u8?
bitwise or on mismatching types
Answered
How integrated is testing in the zig ecosystem?
Why do I have to put `comptime` in front of the call of a function that take all comptime params?
Is there a way to import directly into the current namespace?
Answered
Initialize list of optionals to null?
Answered
how to append string into a comptime array of strings?
Answered
Custom formatting only for certain fmt string
Shared object initialization
Test build step does nothing
Answered
Converting errno codes to Zig errors
Answered
Creating a bitfield from an enum
Standard Library
New User
Answered
Coping with unused variables?
New User
comptime help
Understanding immutable function arguments
New User
how to find out from which line I get into "errdefer"?
How can I install emitted object files with Zig?
Need help with cross compilation on `MacOS (M1/M2)` to `MUSL (Alpine)`
Add cpp header
Compiler
New User
Test stalling using std.io.getStdOut
Standard Library
What’s the best way to play sound with zig?
Answered