zig-help
Run function upon program termination
Standard Library
0.13.x
return new struct pointer 1 line?
Answered
how can i add a C header file and link a dll?
Why there is a parsing for vulkan XML?
const root = @import("root"); File not Found error
Answered
Design pattern for custom number types
0.14.x
New User
Cartesian Product
Answered
Side project for my company
0.14.x
understanding deallocations
Answered
running in comptime instead of runtime
New User
nanosecond comptime
Where to put `@setEvalBranchQuota`
Answered
Can you have struct fields that only exist if package exists (#comptime)
C library not detected when linked on Windows
New User
How to add `/usr/local/include` in search path
Build System
New User
Answered
0.13.x
Workaround for Windows Issue with Reading/Writing to Sockets Simultaneously
0.14.x
Standard Library
Comptime size data structure function parameter?
Answered
zig stack allocated arrays but no RVO/copying between stack-frames?
Answered
Parsing URI's without http
Standard Library
Answered
0.13.x
Get environment variable in build.zig
How to make optional type, non optional
New User
0.13.x
Url encoding a string in std?
Answered
Member function expected 1 arguments (zig-ecs)
Answered
strings of unknow size
Answered
Win32 Usage with Zig
New User
Answered
I need a simple way to plot points on a graphical 2d mesh
Answered
Use a copy to move contents of array around
Detect If project is top-level
Answered
i32 bit problem
Answered
copy shared object from dependency and bundle it with the executable
print binary: {b} without negative on i32
Answered
ZLS smart semicolon?
Answered
Encountering EFAULT on ioctl that works in C
Standard Library
Answered
generic struct, no field named 'x' in struct
Answered
readUntilDelimiter - why/how slice it returns is []u8.
New User
0.13.x
Can you mutate an unwrapped value from an optional using a while statement?
New User
Answered
0.13.x
Better performance by *not* using cpu features?
Compiler
0.13.x
Is there a memory safety feature that I don't know about.
Answered
Enum from packed union (Scheme data types)
Answered
error: expected type '*mem.SplitIterator(u8,.sequence)', found '*const mem.SplitIterator(u8,.sequenc
New User
0.13.x
Where in the build.zig do I set environment variables?
Answered
ArrayList iteration and mutation - error: cannot assign to constant
Answered
Curious about better ways to complete this
New User
How to link vulkan-1.lib in zig?
ZLS not seeing vulkan_zig / how to move generated files
Answered
Small parser using std where possible
Standard Library
Answered
Convert a float to a []u8 "string"
Answered
Weird ergonomics of zig hashmaps
Standard Library
Answered
0.13.x
Using comptime to replace hashmap with enumeration
File naming conventions and structs clarification