zig-help

21196 threads · Page 112 of 424

[solved] error: File not utf8 <0xAA> 6 messages
Answered
alternative to anytype param 5 messages
Answered
Whats the best way to write a in-out decoder? 3 messages
What does .cwd_relative actually mean? 18 messages
Build System Answered 0.13.x
recursive struct parsing 4 messages
Answered
How to install Zig 0.14 from Source? 6 messages
Build System New User
Preferred way to create local functions or anoymus args? 7 messages
Answered
VSCode codeActionsOnSave: difference between explicit and always 2 messages
I cant figure out why anyopaque won't work 2 messages
Answered
Is `std.io.StreamSource` recommended and generally useful? 2 messages
Standard Library
Problems with pointer allocation 62 messages
New User
Finding indices of the set bits 3 messages
Answered
Zig compiles C++ jthread with errors 4 messages
Build System Answered
Struct that I only know the size of at runtime 9 messages
Casting index of a for loop with @intCast 7 messages
Answered
zig build is recompiling the build script on every run 4 messages
Build System
How can I have a build step depend on the contents of a directory? 6 messages
Build System New User Answered
I couldn't get the HTTPS request to work. Failed Miserably 22 messages
Answered
*Self not working 14 messages
0.14.x
inline asm struggles 81 messages
Answered
Freestanding SourceLocation 5 messages
0.14.x
How do i check if the target CPU supports BMI2? 4 messages
Answered
one if statement is making all the difference 3 messages
Standard Library Answered 0.13.x
Storing 16-character long string in packed struct as u128 -> Adding std.debug.print() fixes error? 16 messages
New User Standard Library Answered 0.13.x
Running tests in VS Code using the Zig Language extension on Windows 11 6 messages
0.14.x New User
Pong Game Weird Window Resizing (Windows) 13 messages
Method code generation 4 messages
Comptime cross-compilation build target detection? 5 messages
Build System New User Answered 0.13.x
building zig's compiler with PIE 3 messages
Answered
Is it possible to std.debug.print a struct but have the field values print out as hexadecimal? 2 messages
malloc(): corrupted top size 14 messages
Compiler 0.13.x
Auto initialize an array 29 messages
New User
How does freeing an array work at the end of scope? 2 messages
how does cwd() work? 4 messages
0.14.x Standard Library New User Answered
Prevent import of page allocator when using GPA 15 messages
Standard Library
curl not found when compiling, on Windows 30 messages
0.13.x
How do you declare a string that will be sent to a c function? 26 messages
How to write a custom hash function ? 2 messages
Check for Function side effects in Zig. Possible? 5 messages
0.14.x 0.13.x
Why is the CPU variable a different color than the rest? 30 messages
Declaring a bufferedReader, what is the different between these? 4 messages
Standard Library Answered
Are Zig tests run on parallel? 6 messages
Answered
Cannot compile C++ when the OS is set to Windows XP 3 messages
Build System New User
Is it possible to tell if a function's argument is comptime known? 3 messages
Answered
Is it possible to get a return type for the feature based on what type of value is assigned a value? 3 messages
Standard Library
pg.zig random incorrect alignment crash 17 messages
Zig ScyllaDB driver 10 messages
How do you `std.mem.sort()` when using comptime? 33 messages
How to clone ArrayList( ArrayList(T) ) 14 messages
0.14.x Standard Library 0.13.x
How to return an array of string to replace in them later ? 9 messages