zig-help

21196 threads · Page 169 of 424

Including a generated C file in a Zig project 7 messages
how to initialize function with string 8 messages
0.14.x
Struggling with memory management while trying to "replace" a linked list 23 messages
0.13.x
how do I fix incorrect indents when writing zig in neovim? 30 messages
variable in variable 16 messages
New User 0.13.x
how do i get stdin 9 messages
0.14.x
with simd, is it possible to have an array `ar` where i could index on with a vector `ar[vector]`? 12 messages
0.13.x
PriorityQueueUnmanaged 4 messages
Standard Library Answered
whats the best way to count how many elements were equal when comparing two @Vector(16, u8)? 38 messages
0.13.x
zig build targeting musl producing dynamically linked exe 14 messages
Answered
Confusion around std lib returning what looks like pointers to stack 22 messages
how to access fields of opaque 2 messages
0.14.x New User
How to verify if the a function returns an error? 2 messages
Answered
Cross compiling to MacOS when linking frameworks 8 messages
Zig FFI with Node JS or Bun JS 4 messages
when to use c shorts and longs 2 messages
New User
If I use `_ = my_variable` would that mean that variable would never be even made? 3 messages
Answered 0.13.x
Sacrifice accuracy over speed when doing math with floats 29 messages
0.13.x
Windows allergic to Zig 38 messages
Answered
functions not capable of returning errors 7 messages
Standard Library New User 0.13.x
`use of undeclared identifier 'updater'` error 10 messages
0.14.x Compiler New User
Optional array members depending on platform 3 messages
New User Answered 0.13.x
How to get the path to a compiled .obj file? 15 messages
Build System 0.14.x Answered
Logging in non-debug 5 messages
Answered
HashMaps from other files 11 messages
New User Standard Library Answered 0.13.x
Large project while maintaining separation of code 12 messages
New User Answered
Get function by name 11 messages
Answered
How to track an error inside a deeply nested format string chain? 27 messages
Standard Library New User 0.13.x
use of undeclared identifier 'errno' 7 messages
0.14.x New User
Build CPP project results in undefined symbol 8 messages
Build System Answered 0.13.x
error: no field named 'e2' in (generated) enum, compiler bug? 16 messages
Answered
@memcpy - is it also a memmove? 4 messages
Answered
How do you determine if the target CPU has a 64 versus 32 bit architecture? 2 messages
Answered
endian.h not found 15 messages
how to use align properly 3 messages
0.14.x New User Answered
Iterate over struct fields 7 messages
Standard Library Answered 0.13.x
[solved] Returning a pointer to a type that can contain itself. How? 26 messages
Answered
Most effecient way to parse this specific file? (more in depth description in post) 5 messages
0.13.x
error: function type cannot have a name 17 messages
0.14.x Compiler New User Answered
How to get a c-pointer to a c-pointer 35 messages
New User 0.13.x
Move binary data from JS to Zig WASM 31 messages
New User 0.13.x
how to run tests thought ``zig build test``? 9 messages
New User
Any clean way to create callbacks? 22 messages
New User 0.13.x
How to imitate static variables in zig? 9 messages
New User Answered 0.13.x
How do I access WinMain args from Zig? 23 messages
Answered
Why can't I link to MessageBox on Windows? 8 messages
Answered
Do global variables get initialized to 0 by the compiler? 16 messages
Compiler Answered 0.13.x
unable to build mingw-w64 CRT file crt2_o: SubCompilationFailed 5 messages
0.14.x Answered
Inner struct field "literal" is always const 19 messages
Optional system library 25 messages
Build System 0.14.x New User Answered