zig-help

21196 threads · Page 151 of 424

Get size of an active union tag 2 messages
codegen cache issue 6 messages
Answered
Check if string is in an array of string literals 6 messages
Field []u8 in the structure causes segmentation fault. 7 messages
Answered
how to stop program 12 messages
Answered
extern layout (C ABI) when using files as implicit structs? 13 messages
Answered 0.13.x
how to show the code after comptime? 35 messages
Compiler Answered
Get pointer from global variable and cast it to u64 5 messages
0.13.x
Meta Programming: Generate a field with the name passed to a struct generator function 24 messages
Importing a C symbol with a different name. Possible without const A = B? 4 messages
Answered
C string to Zig slice 31 messages
New User Answered
Increase Pointer Alignment 11 messages
New User Answered
Implementation of Structured Exception Handler using types in `std.os.windows` 3 messages
Answered
Are vectors a reasonable choice for implementing their semantics even on targets without simd? 2 messages
Cleanly iteratively concatenate a string 2 messages
good way to handle bigendian 17 messages
Testing comptime type guards 12 messages
Handle return value with error + optional value 88 messages
Expected `*` found `*const` 3 messages
Can anyone help me? 6 messages
How do you write files? 6 messages
Understanding heap and stack allocations 5 messages
New User Standard Library Answered 0.13.x
race condition error 5 messages
error.TLSInitializationFailed when attempting to fetch from TLS1.3 capable Server 3 messages
Linking library with command line instaed of build.zig 9 messages
New User
Help understanding error "non-comptime tuple field has default initialization value" 15 messages
Idiomatic Approach To Collections 54 messages
Answered
Have any unsigned integer as argument to function 4 messages
0.13.x
readToEndAlloc Does Not Exist? 4 messages
Standard Library Compiler Answered
Why does Self in this generic need to be a pointer? 3 messages
Detaching thread 21 messages
Standard Library Answered 0.13.x
Zig Build - Error finding Artifact when building for multiple targets 16 messages
Answered
@import in build.zig 2 messages
Answered
[solved] Equivalent to C __DATE__ 14 messages
Answered
C flags not picked up correctly in build.zig 8 messages
Wrapping a C macro. Possible? 12 messages
Way to call format() functions from lldb? 4 messages
Answered
Package Management 2 messages
how can i make a function parameter accept any float? 8 messages
Efficiently Sharing Config Data Across Processes 3 messages
Comptime Map autogenerated from Union 5 messages
New User Answered 0.13.x
Converting Std Input from Slice/String to Int 10 messages
New User Answered
Dir.access can't find file 9 messages
New User 0.13.x Build System Standard Library Answered
store a generic type in a union 12 messages
0.13.x
Setup Zig for VScode 5 messages
what is this bug? 12 messages
Answered
Help with type system 12 messages
Can I depend on std.mem.Allocator.free checking for empty slices? 5 messages
why am i leaking memory? 4 messages
How to send a [*c]u8 to C that will be modified 23 messages
Answered