zig-help

21196 threads · Page 362 of 424

temporarely disable optimization for a piece of code 14 messages
Use struct as a const map 3 messages
exclusive load/store and bitfields 25 messages
0.10.x New User
Ranges question 2 messages
comptime interface annotation 7 messages
Answered
disallow loop unrolling 8 messages
Answered
Performance issue with my zig code 14 messages
New User 0.13.x
Strange behavior 3 messages
Answered
Optionals overhead 9 messages
[resolved] nix: unable to build lib with an attached module on zig master 3 messages
Standard Library 0.13.x
C string hash map fails to retrieve value using runtime key 27 messages
Answered
Temporary lifetime 94 messages
New User Answered
sparse array of optionals 10 messages
New User Answered
How do I add a custom "rule" in build.zig to deal with building non zig stuff? 33 messages
New User Answered 0.13.x
When and how is builtin.zig generated ? 4 messages
comptime function generation? 41 messages
module vs. dependency? 14 messages
Container of different but equal size generic containers 13 messages
New User Answered 0.13.x
`@tagName()` for non-exhaustive enums 12 messages
Answered
Heap allocated ArrayList 17 messages
New User Standard Library Answered 0.13.x
how to troubleshoot: following command terminated unexpectedly 8 messages
0.10.x New User
How to cast a variable as [*c] to input into a c library function. Raylib-zig 4.5 with Zig 10.1 12 messages
SIGILL on xeon 12 messages
Cast []u8 to c string array 18 messages
Answered
Can't figure out the problem 59 messages
0.10.x Compiler New User
Where to upload zig package? 29 messages
Answered
Is signed to unsigned bit casting disallowed? 5 messages
Compiler 0.13.x
How does Zig handle this inline assembly? 8 messages
Compiler
build, zig from master, how to set "setOutputDir"? 16 messages
How do i explicitly state that u8 is a character? 14 messages
Answered
How do i multiply strings? 26 messages
Answered
Wrong initialization with packed struct 12 messages
Different bitSizeOf beetween runtime and comptime 23 messages
Answered
Parameterized tests 12 messages
how to write this in zig assembly? 39 messages
how do I figure out which error is returned? 9 messages
Answered
literal [*:null]const ?[*:0]const u8 80 messages
Answered
Array of functions. error: values of type '[2]fn() void' must be comptime-known, but index value is 7 messages
What's the correct way to build the compiler after you do git pull? 8 messages
Answered
Is it possible for an Generic Data Type having an anytype in type parameter? 18 messages
Help with HashMaps 17 messages
How do you create a C pointer array that a C function takes? 7 messages
Answered
error: expected type '[*c][*c]const u8' 12 messages
Answered
error: expected type '[*c]u8', found '*const [1:0]u8' 16 messages
pointer to half of int value 38 messages
Answered
ChildProcess.CollectOutput attempt to use null? 7 messages
Standard Library New User 0.13.x
WASM example 5 messages
New User
File io with timeout 194 messages
Answered
Convert ArrayList to an array 5 messages
New User Answered
Seemingly valid JSON failing to parse 65 messages
Answered