zig-help
cwd different results
Answered
Why is it not possible to negate an optional in an if statement?
0.11.x
Initialize Matrix struct from nested tuples
New User
Slice length somehow got absurdly big, after giving it through function parameter.
Answered
0.13.x
What is a "managed" object?
How do tests actually work? both buildsystem and decls. some of my tests are not running
How to correctly link and import a static library (.a file)?
0.13.x
Is it possible to parameterize a module at comptime?
DLL initialization routine fails
AoC Day 4 spoiler: ArrayList of structs deinit
New User
Separating @cImports
Using @compileError in unwrapping optional
Answered
Create temporary file
Closest alternative to Cargo Workspaces in Zig?
0.13.x
I don't have `zig init-lib` only `zig init`. Did that change or am I missing something?
0.13.x
Running GLFW + CGLM is causing my code to crash
Compiler
0.11.x
I can build and run my C/C++ project with zig compiler but it crashes
How can I infer type from a number.
Answered
Unrwapping of Null??
New User
0.13.x
Get first and last value of slice
Using Dependencies in Project - Zig
Question Regarding Having Access to Functions/Types between Files
Cleaner way to handle optional?
New User
Having trouble using cglm. Getting a linking error
0.11.x
Compiler
New User
Compile all .c files in a directory
Answered
lld-link undefined symbol sfml library
how can I build an array containing the range 0..255?
Answered
linking to GLFW and such
Answered
How can I tell if libc is being linked statically or dynamically?
thread 5628 panic: switch on corrupt value
Answered
Build-exe through build.zig
inline strings
Answered
Any actual difference between passing by value or const pointer?
New User
Answered
type 'u2' cannot represent integer value
0.11.x
New User
Answered
Why `zig fmt` isn't fixing simple errors for me???
Answered
Current status of `std.json` and `std.Ini`?
Standard Library
Answered
Initialize allocated `[]?` slice to all `null`s
Answered
0.13.x
I don't understand sentinel terminated string behavior.
zware-doom LazyPath error
Creating a Graph to Represent Stars in a Galaxy
`error: Unexpected` when building
String casting
Type info of an enum
Misplaced error in compiler, error: expected type 'usize', found 'f32'
std.mem.copy removed??
Answered
Why can I read slices from files but not write slices back?
Standard Library
New User
Check that error belongs to set
New User
Answered
0.13.x
Inline function?
New User
Answered
Does Zig have some sort of an ordered map?
Answered
std.Thread.Mutex is unusably slow
Standard Library
Answered