zig-help

21196 threads · Page 216 of 424

Is there an easier way to test for a specific union field? 10 messages
New User
error: the linker needs one or more objects to link 7 messages
Zig int length 12 messages
redirecting stdout/stderr (or similar) to file ? 17 messages
Answered
disable zls autoformat on code block with comment? 3 messages
Answered
options not working? 6 messages
Build System 0.14.x New User Answered
Passing a structure by reference to a C function 12 messages
New User 0.12.x
How would I go about handling this type? 66 messages
New User Answered 0.12.x
curious errors when writing a custom Formatter 14 messages
Answered
What is the correct style for Zig enums? 9 messages
Answered
Can somebody help me find a bug in my code? 13 messages
Answered 0.12.x
comptime lookup table 21 messages
Answered 0.13.x
Hello someone know how to specify output when building with zigg ? 2 messages
How do we allow zig's function to take c's function as an argument? 7 messages
0.14.x Answered
Can ZLS show errors or intellisense for other packages? 6 messages
Passing a reference to a StringHashMap to a function 23 messages
Answered
anytype as slice 17 messages
Answered
Runtime Call in Naked Function 5 messages
Answered
switch block return 6 messages
Answered 0.13.x
Questions about the test runner 41 messages
Build System Answered
Why not *void 60 messages
0.13.x
debug info and optimizations 8 messages
Answered
Building will always result in an ELF executable, even when targetting UEFI 4 messages
Build System Compiler 0.11.x Answered
`addCSourceFile` breaks include paths for zig files? 2 messages
Answered
assert.h and stdlib.h not found for target aarch64-windows-msvc? 14 messages
using the correct integer width when shifting 39 messages
Answered
std.Uri.percentDecodeInPlace after upgradeing zig 0.13.0 15 messages
Answered
error:type '*array_list.ArrayListAligned(u8,null)' has no members 10 messages
Where to put errdefer to handle multiple errors? 2 messages
how do i test if a tagged union eqls another 6 messages
Path to dylib at runtime 9 messages
Answered
Std: Fifo 2 messages
New User Standard Library Answered 0.12.x
How is this allocation supposed to be freed? 11 messages
New User Answered 0.12.x
Is possible to have a module in ReleaseFast while lib in Debug 7 messages
Answered
Timespec Struct 4 messages
Standard Library Answered New User 0.12.x
Is there way to imitate struct static field behaviour? 7 messages
What's up with all these builtins 40 messages
0.12.x
Comptime infer return array size 28 messages
Remove install step 5 messages
Build System Answered 0.13.x
Creating a struct with an unknown size encoded into the struct 14 messages
0.12.x
Multifile zig code for C-convention library 27 messages
create slice to pass to a function for testing? 7 messages
Create and use an array of std.ArrayList at compile time, all with different types. 24 messages
0.12.x
VSCode is silent about declaring struct without specifying it's field that has no default value. 4 messages
New User Answered
build.zig: wrap up some common dependencies 5 messages
Answered
Need help compiling Zig with LLVM support 4 messages
Compiler
Parallel loop 28 messages
Standard Library New User 0.13.x
Memory keep growing even when I'm not adding anything into `StringHashMap` 52 messages
Answered
Changing std error 7 messages
Answered
How to get active union tag? 6 messages