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