zig-help

21196 threads · Page 165 of 424

how to return null 4 messages
Answered
Init comptime-sized array of unmanaged structs 5 messages
Answered
why cant i do this 3 messages
Answered
Are pointer over/underflows okay in Zig? 3 messages
not guaranteed in memory representation 24 messages
New User Answered
how to use comptime type arg as return type? 7 messages
0.14.x
Function for copying a value out of an optional, leaving null behind. 4 messages
readStructEndian 11 messages
Unable to use co-processor command on arm946e-s 19 messages
Answered
Is this a good project to use to learn Zig? 25 messages
SPIR-V target status and examples? 4 messages
Compiler New User
How to access the content from streamUntilDelimiter? 2 messages
0.14.x
Review my Multithreaded code 12 messages
0.14.x
How to generate module documentation from build.zig 4 messages
Answered
Is read access to a const object via a non-const pointer UB in Zig? 14 messages
How to get the alignment of a value rather than its type? 13 messages
Suggestion for DateTime Library 3 messages
What counts as a type depending on itself? 2 messages
Idiomatic way to get offset of field in tagged union 10 messages
Answered
When to explicitly use `@Vector` for better performance? 18 messages
Compiler
Integer typing in zig for loops? 15 messages
0.13.x
declare the type of a capture in an inline else prong 15 messages
Answered
Error using libadwaita with zig 16 messages
Struct with array field 3 messages
New User Answered 0.13.x
catch switch error syntax is confusing 4 messages
0.14.x Standard Library Compiler
return stack array 10 messages
Answered
How to include std.Build.Step.Options into all modules, similar to how "std" module is? 2 messages
Build System Standard Library
relative path in zon file? 10 messages
How to debug build.zig rebuilding every time? 3 messages
Compile time method removal for generic struct? 4 messages
Answered
Conditional qualifiers 5 messages
Answered 0.13.x
Compile times 9 messages
RISC-V Inline Assembly 3 messages
How do I include all headers in /usr/include 4 messages
ZLS doesnt remove error after resolved in VSCode 2 messages
No ZLS autocomplete for imported C libs? 28 messages
Answered
invalid free 23 messages
0.14.x
set import zig run 4 messages
Understanding Inline Asm in Zig 15 messages
Answered
Warning linking zig into a freestanding C project 11 messages
Build System 0.14.x Compiler
how to format &.{} 30 messages
Answered
How to add build arguments to the build runner itself 22 messages
Zig Package System 56 messages
Build System New User Answered 0.13.x
Receiving different UDP data from the same packet, compared to Wireshark 9 messages
Answered
how to make function param var 2 messages
0.14.x Answered
How do i convert a slice into an array 3 messages
how to optimize type based on value 10 messages
0.14.x Answered
I Dont Understanf Why Im Getting Thread Panic Integer Overflow. 5 messages
0.14.x Compiler
Confusing about @ptrCast usage 5 messages
Answered
Small project ideas, any are welcome 3 messages
New User