zig-help

21196 threads · Page 330 of 424

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