zig-help

21196 threads · Page 287 of 424

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