zig-help
darwin.socket()
Standard Library
Answered
inline switch from const array?
New User
How to clean up elements of an array
Answered
zig can't print non-ascii characters
Building with neon
New User
Can't resolve comptime from a for loop
Checking if a method exists before calling it
dynamic array in zig (Vec in rust)
zig dynamic array len
Loop for a given number of iterations
Answered
Is this the correct way to create a non-exhaustive enum where other values are still valid?
Answered
for loop syntax question
Pointer arithmetic question
I have made simple mistakes ([]u8 mem.eql)
Error superset Subset
Zig+Lisp
Answered
difference between [*]u8 and []u8?
New User
Answered
0.13.x
Skipping empty strings between delimiters when splitting
Answered
nul escape invalid?
Print call stack on an error
random question from a newbie
New User
Help designing a struct
New User
0.13.x
`zig fmt` without modifying underlying file
extern stucts layout
How can I reduce duplication in the below code?
How to make an Atomic counter?
Answered
Mentorship, anyone?
Shortcut for casting integer to float?
vulkan window doesnt show on wayland
Test single file from zig std
New User
Compiler
Answered
0.13.x
error: import of file outside package path: '../helper1.zig'
talk with windows named pipes
Standard Library
0.13.x
Compiler Test Case vs. Zig run Discrepancy
New User
Compiler
Answered
0.13.x
is there a way to check if `anytype` is `u32` and cast/get the value as u32 without using @as?
New User
Answered
0.13.x
Are tags of nested tagged unions "flattened"?
How might I create a FixedBufferAllocator specific to N copies of a Struct?
Answered
module self import?
Answered
What is the best way to cast @Vector(2, f32) into @Vector(2, i32)?
Allocator resize does not change array len
Answered
Using types and hitting a compiler segfault
`zig build-lib -rdynamic` in `build.zig`
Types and Coercion
error(mingw): clang exited with code 1 and stderr: error: unknown target triple
New User
Compiler
Answered
0.13.x
Check a union with an if statement?
Understanding sysroot
Can't figure out how to diagnose build error
Standard Library
Compiler
New User
How to print error
Resources for high performance computing (HPC)
calling zig functions from inside a Lua environment.
Answered
@intCast is not always aware of context