zig-help

21196 threads · Page 234 of 424

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