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