zig-help
Generic function where `T` needs to have a specific property
0.11.x
Noob question around struct "instance" methods
0.12.x
Setting interrupt handler for Gameboy Advance (ARM7TDMI)
How to work with "optional fields" and functions that use them?
How can I disable the output from an "addSystemCommand" step?
Weird segmentation fault when using getName of std Thread
Passing an allocator to a function and initializing an ArrayList with that allocator
copy bytes
add output file to step.run
@embedFile throws FileTooBig - undocumented limit?
0.11.x
Compiler
New User
How does `build.zig` options work to strip and minify the binary?
Flexible type creation
Importing MetalPerformanceShaders
New User
Code Review - LRU Cache
New User
Answered
How to determin 2 unknow type A, B can or can't coercion in comptime?
cast
anonymous structs not matching
How to import root in main zig init sample
New User
Can you access modules of your dependency's dependencies?
Answered
Is there a way to use <xmminrin.h> and friends in zig
Answered
comptime conditionally define property data types
basic method to solve segmentation fault when compiling with `zig build-exe`
use GPA in freestanding
Standard Library
Answered
0.13.x
build
write []u24 to file
What's happened to std.meta.trait?
Answered
Raising numbers to powers
Standard Library
New User
0.13.x
how to cast u16 to u8 slice?
Noob trying to find where my slices are declared const
ReleaseSafe build broken, Debug build works as intended
0.13.x
0.11.x
Compiler
0.12.x
Getting a '[*c]const u8' from runtime value
cast problam
Is it a good practice to use GPAllocator as global const?
New User
installHeadersDirectory question in 0.12.0
Compiler
0.12.x
Using zig build system with NixOS
Refactoring to use `orelse`
Answered
`@memcpy` to a struct
New User
Answered
0.12.x
Building Zig from source
New User
Packed struct (u8): bit shift and `@truncate()` fields has different behaviour than `@bitCast(byte)`
Answered
0.13.x
Print ints with sign
Standard Library
Answered
0.13.x
Issues with Generic Functions using `anytype`
Answered
Compile issue with bison parser.
Access reference trace source location for compileErrors, or an alternative for better messages?
Semantic analyzer vs. inlined functions.
Compiler
0.12.x
How to add a dependencies's header's path to a build process?
New User
0.12.x
Windows USER32.dll
0.12.x
Linking your own zig compiled libraries to new project
Should `zig fmt` remove unnecessary parenthesis?
SDL ISSUES
Compiler
New User
0.12.x
how aligncast works in these scenarios