zig-help

21196 threads · Page 334 of 424

Not sure what the issue is, I redownloaded ziglang like three times, latest build, and nightly build 3 messages
New User
[vscode] Language server error 5 messages
std.compress.gzip, error decompressing file 5 messages
Standard Library 0.13.x
"abort" a call to `accept` on std.http.Server 26 messages
Answered
Error when building SDL project 7 messages
New User
Vector * Inf not be Nan, Why? 3 messages
Optional `anytype`s? 5 messages
For linking from source, do all files need to be listed in an array of strings? 4 messages
VSCode extension not working 30 messages
How to initialize a Tagged union interface? 8 messages
Answered
Allocators and bindings 27 messages
Emitting multivalue wasm 14 messages
testing.expectEqualSlices fails but not sure why 17 messages
Standard Library New User
root struct of file 'main' has no member 'os' 6 messages
Answered
Zig having issues with video4linux2? 13 messages
Comptime build options like rust features? 3 messages
Answered
Specify a custom LibC 2 messages
Compiler 0.13.x
How to access a struct field value during compile time 11 messages
New User
Optional struct fields in metaprogramming 14 messages
Is there a way to declare multiple variables at comptime besides using an array? 4 messages
Answered
zigmode after $ zig build -j1. error: expected 1 argument, found 2 return @ptrCast 4 messages
StringArrayHashMapUnmanaged lookup by index 9 messages
Answered
Random compilation errors with no explanation 10 messages
Answered
Checking two ArrayLists of structs for equality 2 messages
Answered
Call in inline ASM? 15 messages
Compiler 0.13.x
What is the number in `Semantic Analysis [22121]`? 4 messages
possible miscompilation of a forloop? 3 messages
0.13.x
Anonymous function in struct field 6 messages
Calling convention parameter requires byval 2 messages
Compiler 0.13.x
Multi-Statement Inline asm 3 messages
@compileLog type weirdness 57 messages
Answered
Why default output goes to `stderr` instead of `stdout`? 10 messages
Answered
Is there something like `-ffast-math` for zig? 30 messages
Answered
Define entry point in a static library. 7 messages
Compiler
Pass slice of u8 to variadic function? 29 messages
0.10.x Answered
What are variables in zig called when there are no keyword ? 4 messages
Is bitcasting an f32 to u32 & vice-versa endianness dependent? 5 messages
VSCode / Windows 11 - zls crash 2 messages
panic: incorrect alignment or segfault, while iterating on an AutoHashMapUnmanaged 20 messages
Standard Library Compiler Answered 0.13.x
GLFW Build error after updating to latest zig 3 messages
New User 0.13.x
What's the easiest way to concatenate a string (const []u8) and a single u8? 15 messages
Is there a way to do conditional struct fields? 8 messages
Answered
strange behavior when appending to an arraylist 7 messages
Does dynamic buffer stream exists? 4 messages
Answered
What's the idiomatic way to create a generic struct that inherits a field's type's extern layout? 11 messages
Seeking UDP server help 5 messages
New User Answered 0.13.x
lld-link: undefined symbol when trying to zig build-exe a project using raylib 2 messages
New User Answered 0.13.x
Bug? Print inside test causes error 10 messages
Is there a standard data structure for a sequence of structures of different types/sizes? 39 messages
How would I create an array of pointers to structures of different types/sizes? 3 messages