zig-help

21196 threads · Page 410 of 424

proper way to do mixins or interfaces or something alike 50 messages
Get active tagged union type 2 messages
ArrayList and memory leaks 12 messages
New User
Looking for a platform-independent calling convention 7 messages
Answered
crash in valgrind --tool=massif 21 messages
c-translation started failing 4th november 26 messages
How to lower the alignment of a packed struct? 31 messages
import into file 5 messages
comptime typeId | RTTI 18 messages
Is `anytype` the only way to make generic function parameters? 4 messages
Is there a way to switch on an enum range 24 messages
How do i shift a number by an enum variant? 10 messages
how to use slice of types 29 messages
Combining two fields of a packed struct into one variable. 13 messages
std.mem.copy doesn't copy sentinel? 12 messages
Specifying byte-order (endianness) of struct fields 2 messages
New User
How do i create MMIO struct? 23 messages
Catch error from `void` function 22 messages
Catch specific errror and let other errors propagate? 6 messages
obtaining type of elements of unallocated slice ... any danger of this? 8 messages
Is it possible to let zig infer anytype so that I can pass less parameters to the generic? 17 messages
How to run specific tests using subcommands 11 messages
Construct Union with Tag and NoUndefined Value 15 messages
compile qrcodegen.c to webassembly 5 messages
Conditional evaluation of parameter 38 messages
confusing error message from std.testing ... meaning swapped ??? 8 messages
What is the best way to use the pcmpestri instruction? 16 messages
Variable falsely optimised to 0 6 messages
Wanted to try zig 0.10.0, brew install is broken 2 messages
can't run vulkan-zig example because of errors 3 messages
New User
ziglearn version? 3 messages
Errors upgrading 0.9.1 project to 0.10.0 21 messages
How to fix `evaluation exceeded 1000 backward branches` in an external lib with setEvalBranchQuota 4 messages
Zig bloated stdout inline while 7 messages
Small binaries 35 messages
Is it possible to build a zig only windows driver. 18 messages
Compiler Answered
ChildProcess spawnAndWait() error 24 messages
New User
Generic Types 10 messages
ElfDynLib don't open library - ElfHashTableNotFound 3 messages
Running Tests With Packages 12 messages
Should I return catch return, or just return catch? 20 messages
What's the default callconv for extern fn? 5 messages
install zig on windows with pacman on msys2 17 messages
Packed anonymus structs doubts 20 messages
New User
Facing issues when using `mprotect` and casting int to pointer + VSCode inlay hints 11 messages
Standard Library New User
Printing type names in zig 5 messages
Is there a shorter way chain optionals? 15 messages
Dynamically create and return array of length n 4 messages
New User
How to grow a slice? 3 messages
C import failed 9 messages
New User