zig-help
ZIG trying to compile linux only code in os switch block
Standard Library
Compiler
0.12.x
Interface system
0.12.x
Why does making main() inlined do anything?
Answered
Creating a composition based ECS
Answered
0.12.x
Am I allowed to free array_list.items
Answered
0.12.x
Bulk-rename C decls that match a pattern?
Duplicate array at comptime
Why is this not considered const or comptime?
Answered
Using C library in different zig files
Answered
How to Link SDL2 in build.zig
How to get native endianness of target?
New User
Standard Library
Answered
0.12.x
question regarding linter
Weird behavior when creating socket
Compiler
Answered
0.12.x
gzipping a folder
Make zig compiler smaller
Answered
Using arrays of generic structs
0.11.x
Running tools written in Zig from build.zig without manually building it beforehand
How to use zig-fetch with git repos
New User
0.13.x
Setting up the vtable for an interface
How to do system level keyboard/mouse io in Zig
Arraylist stored in struct is pointer to const
Answered
0.12.x
[SOLVED] x86_64 inlined asm outb to 0xe9 (QEMU debugcon) works, non-inlined does not
Answered
0.12.x
building macos release on linux won't run on macos
count leading zeroes / ones
Use the type of a generic?
0.11.x
Is there a reason for the precedence of `orelse`?
ZLS failing with no error information in build runner, works fine when running manually.
0.12.x
Setting `NSPrefersDisplaySafeAreaCompatibilityMode` to false on macOS
error: comptime control flow inside runtime block
New User
0.12.x
root struct of file 'os' has no member named 'exit'
The Zig Way to do things
New User
bad code generation with std.enums.EnumArray (on powerpc)
Standard Library
Compiler
0.12.x
Int to Float cast syntax
quick & dirty module generation with zig build
Answered
0.13.x
Allocating a matrix
Read `build.zig` options from `zig test`
0.12.x
Array of functions as field
0.11.x
addModule/createModule migration to 0.12
0.12.x
recv() calls taking up to 0.1ms to complete
problem with testing via build not seeing stuff from modules
0.11.x
casting i32 to u32 and default to 0
What's wrong with the way I am trying to initialize this matrix?
Strange defer behaviour
pointer type '*usize' requires aligned address
How can I link with libc while using the zig backend?
About i32 convert usize type how to do better?
Indexing not allowed at comptime?
socket
Zig dependencies question
LinkedList leaking memory when running test
New User