zig-help

21196 threads · Page 141 of 424

x86_64-macos cross-compiling and Framework issues. New to this. 3 messages
New User 0.13.x
How to access struct field based on json key string. 12 messages
0.14.x Standard Library New User Answered
How can I read bytes as f32 from a std.fs.File? 38 messages
ZLS build-on-save only building ONCE without reloading the whole server. 3 messages
ZLS build-on-save simply not working on save 23 messages
what's the zig build target flag for specifying the native cpu architecture? 6 messages
Convert array to null-terminated array 4 messages
New User Answered 0.13.x
error: no field or member function named 'append' in '?array_list.ArrayListAligned(u32,null)' 7 messages
0.13.x
Code review for clarity 31 messages
Answered
error: array literal requires address-of operator (&) to coerce to slice type '[]i32' const max 2 messages
Module import and C import errors despite being included in build.zig 10 messages
Build System Answered 0.13.x
Unsafe modification of a string? 47 messages
0.13.x
help me build ZLS nightly 5 messages
Make something into an optional 3 messages
New User 0.13.x
Initialize heap allocated struct 6 messages
Standard Library New User 0.13.x
Basic Pointer Question. 13 messages
execv not taking the error types 24 messages
Standard Library Compiler Answered 0.13.x
Bitwise operations 11 messages
Saturated multiplication of integer with float 32 messages
Try Catch not working for ArrayList.append() in one place when it works in another 2 messages
0.13.x
Are tagged unions similar to the concept of Algebraic Data Types? 5 messages
Answered
Pointer type conversion shenanigans 6 messages
0.14.x New User
Swap function pointers in 'extern struct' 18 messages
Answered
Please help me understand an error (using imported SDL3) 25 messages
New User 0.13.x
PostgreSQL + Zig with Pg - "error: Unsupported type: Build.LazyPath" 11 messages
New User
error: expected type '*memory.Memory', found '*const memory.Memory' 3 messages
SDL2 + GLAD fails to load GL: `gladLoadGLLoader` call fails with code 1 19 messages
Answered
how does crypto/aes work 11 messages
0.14.x Standard Library
how to compile a dependency and link it in `build.zig`? 12 messages
Build System 0.14.x New User Answered
issue trying to understand zig comptime field stuff 20 messages
Answered
[solved] Generate array at comptime with a for loop 5 messages
Answered
is returning a pointer to locally created variable safe in Zig? 10 messages
Answered
convert a array/slice of u1's to an int 8 messages
0.13.x
why is this a comptime call? 5 messages
[solved] Calling continue in a nested for loop. Possible? 14 messages
Answered
Creating a list of imports based on existing files at comptime 9 messages
Completely lost on adding a simple dependency 32 messages
Build System New User
Issue with ZLS completion and Neovim 6 messages
Answered
get the text from an ArrayList([]const u8) 8 messages
else prong required when switching on pointer type 4 messages
New User 0.13.x
how do i narrow an arguments type to that returned by a specific type function but for any argument? 3 messages
Compiler
what's wrong with my struct 16 messages
Answered
How to Parse This JSON Object? 8 messages
0.14.x Standard Library Answered
Invoke zig build from main.zig 26 messages
Answered
Simple way to add a file/module? 14 messages
Build System 0.13.x
Raylib zig, can't seem to get the correct type 11 messages
Answered 0.13.x
Embedding binary from Zig in C++ does not read back correctly 12 messages
Hashmap where values are arrayhashmaps, each with a different value type? 4 messages
Question about memory allocation and freeing 17 messages
How can I run a zig tests which rely on code from a parent directory 8 messages
0.14.x New User