zig-help

21196 threads · Page 363 of 424

Need help with converting a makefile 7 messages
Custom Safety Checks? 19 messages
Answered
Installing Zig via Homebrew. 35 messages
What does the string after `extern` specify? 4 messages
Answered
Init pattern footgun ? 5 messages
using c unions 58 messages
Answered
Why is this enum byte-sized 0? 5 messages
Answered
How to free `*anyopaque` created by function `Allocator#create` 34 messages
New User
What type to use for `std.builtin.Type.Enum.tag_type`? 3 messages
Refactor Ideas? 83 messages
Answered
Deadlock error while printing 31 messages
New User Answered
Assign a Variable the Return Value of a Function 13 messages
Answered
Concatinating string 13 messages
Idea: not-so-dynamic dispatch 38 messages
Build failure with zig-pdk in a wasm library. 4 messages
truncate a std.fs.File? O_TRUNC equivalent? 2 messages
Answered
Stage4 compiler is unable to compile anything 4 messages
Compiler 0.13.x
Programmatically create a packed struct type which C-ABI compatible 21 messages
Answered
cannot format error union without a specifier (i.e. {!} or {any}) 9 messages
Zig crashes on calling libusb_init 18 messages
Query cpu features at runtime 8 messages
Standard Library Compiler
Build zig statically, locally 21 messages
Figuring out the u8 array stuff 6 messages
How to use std.debug.panic? 2 messages
New User Answered
Building Zig compiler for old OSX machine 11 messages
Iterate fields at runtime 8 messages
Answered
Set/clear a bit 25 messages
Zig Tagged Union doesn't seem to work as I expected 6 messages
0.10.x Compiler New User Answered
zig build run: error unable to spawn ... FileNotFound 4 messages
chained comparison 7 messages
'c' has no member named 'TCP' 2 messages
Standard Library
ignore queued input from stdin 2 messages
Answered
using command line arguments 25 messages
New User Answered
Zig CI failed, where can I find a older zig and zls version that works? 15 messages
Dynamic union creation 54 messages
error: no field or member function named 'getLastOrNull' in 'array_list.ArrayListAligned(u8,null)' 6 messages
Missing defines and other errors in generated header file 3 messages
Stack trace for Compile Errors? 3 messages
0.13.x
AutoHashMap.count() gets garbled if I use the allocator for something else. 33 messages
New User Answered
Unable to cross-compile a Windows 32-bits DLL 2 messages
0.10.x Compiler New User
The encoding strategy and how to retrieve type specific data without a switch? 16 messages
How suitable is `std` for learning what *idiomatic* Zig is? 12 messages
Answered
Proper way to loop through a @typeInfo []StructField? 8 messages
New User 0.13.x
Runtime string formatting 5 messages
UEFI Heap allocation seems not to work anymore 38 messages
Standard Library 0.13.x
problem in comparison 24 messages
New User Answered
How to use `std.mem.concat` 2 messages
New User Answered
append on ArrayList throwing error 10 messages
New User Answered
Compilation errors caused by Zigmod 48 messages
Answered
Where is a struct returned with ampersand allocated? 22 messages
Answered