zig-help

21196 threads · Page 152 of 424

Undeclared identifier 8 messages
Static Library with ZigCC on cli 23 messages
Answered
Still unable to link non-system .so file in zig 8 messages
Answered
.so files in 0.13? 3 messages
Access Fuzz input that caused failure 10 messages
[solved] How to manage a C api that has a TON of global state in C 45 messages
Answered
string to cstring 28 messages
Any sort of interface-style equivalent? 31 messages
0.14.x
how can i cancel my thread 7 messages
Getting a negative number from two u64 addresses 2 messages
New User Compiler Answered 0.13.x
Does the size of an array affect the compilation time with --release=fast 3 messages
Answered
duplicate sym __stack_chk_fail when linking libc++ in exe and static library dependency for wasm 11 messages
Answered
Need help regarding shadowing of struct fields. 2 messages
New User Answered
C++ std::format equivalent in zig 10 messages
Standard Library New User Answered
why do I still get a leak? 10 messages
question about zig zen no.8 3 messages
Answered
would it be a good idea to use one arena for every variable I have? 18 messages
Answered
how its work? 21 messages
fault when accessing returned struct field 3 messages
0.14.x
How to gracefully handle ctrl+c for exiting a while loop 5 messages
Answered
Zig build with C/C++: Emitting GDB debug symbols 23 messages
Build System
Zig Build: Building C++ with address sanitization 45 messages
Answered
Can the fields on a struct affect how fast a method executes? 3 messages
Answered
Emplace/ Move 25 messages
Answered
Is `x / @as(2, i32)` the best way to divide a i32 var? 40 messages
New User Answered
Generate inline recursive call 2 messages
New User Answered 0.13.x
append comptime value to string literal? 13 messages
Answered
Any way to rewrite this ugly looking casting from ints to floats? 3 messages
New User
translate-c always fails 17 messages
Compiler New User Answered
Implementing a comptime generic queue with member functions 13 messages
New User Answered
Different views on the same packed struct bits via unnamed structs and unions, possible? 4 messages
non-blocking read file/stream read? 2 messages
The things that i'm worrying about Ziglang 44 messages
Curious about Ast 3 messages
how to split on whitespace 3 messages
Answered
Is it possible to cast a u8 to a struct like this? 16 messages
New User
TLSInitializationFailed fetching from TLS1.3 sources 3 messages
0.14.x
How zig compiler works 12 messages
Compiler New User Answered
Removing items from an ArrayList 3 messages
how to retrieve a value from ParseFromSlice 3 messages
writing onto a Stream in a thread safe way 37 messages
can you override builtin.panic.* 31 messages
Segmentation fault using ArrayList in struct 19 messages
Standard Library New User
why do I get panic: incorrect alignment? 3 messages
Answered
Why can't arrays be used in packed structs? 17 messages
how to find out if something is an instance of a struct 3 messages
Answered
how to clear a complex datastructure all in once? 2 messages
Answered
Why would I ever use AutoHashMap instead of AutoArrayHashMap? 8 messages
Standard Library
stdin.read 4bytes array 6 messages
how to add a build_options field that's the result of a b.addSystemCommand ? 21 messages