zig-help

21196 threads · Page 96 of 424

What goes in build.zig.zon.paths? 27 messages
Answered
Error handling problem in comptime dimensional analysis/unit conversion library 14 messages
0.14.x Answered
reset memory on ArenaAllocator leads to 2x more sizes than I would expect. 55 messages
0.14.x New User
HashMap(void, void) question 34 messages
ArrayList.append leaking memory 15 messages
0.14.x Answered
I am trying to add this function arg to the closure but this error pops and idk what to do 10 messages
variable initialization in .so compiled from zig, loaded with std.DynLib 17 messages
Answered
Sometimes Assert Global State Issues 23 messages
Answered
Installing zig-git from the AUR 8 messages
0.14.x
Any way to eliminate a comptime type when the type can be inferred from another argument? 8 messages
New User Answered
Porting C++ bitset code to Zig using u50000 27 messages
Answered
Do we have a can Coerce function? 20 messages
Answered
are payload captures required in zig 0.14.0 2 messages
0.14.x Answered
Help with strange error happening in between compile mode versions 24 messages
0.14.x New User
How to catch assert()'s unreachable? 31 messages
Answered
Unexpected switch behavior 33 messages
Answered
How to check how much memory allocator allocated? 7 messages
0.14.x New User
Is there any good docs on the build.zig 44 messages
0.14.x Compiler New User Build System Answered
Non-blocking readKey() function required for LINUX (or all OS) 6 messages
Using SDL: undefined symbol on linking stage 25 messages
Answered
A compile-time function that generates an array whose size is determined internally. 8 messages
Answered
"Unable to evaluate comptime expression" 6 messages
0.14.x New User Answered
glibc vs musl 6 messages
Compiler New User Answered
Zig fmt 2 messages
Answered
B+ tree implementation 8 messages
Answered
How do i recreate this code in Zig? 35 messages
Answered
finding if a method is tested by a test block 4 messages
Import external file inside build.zig 16 messages
getting file name from lazyPath or ObjCopy 69 messages
Answered
Thread parking 2 messages
How does cpu feature checking work? 12 messages
Evaluate a comptime file 2 messages
Answered
Can I @import a subset of a common zon file? How to import zon partially? 7 messages
0.14.x Answered
Why doesn't the type of a struct's method have * const? 4 messages
Answered
Can we get the terminal width in zig? 5 messages
Standard Library
@as behavior with u8 and f32 24 messages
Answered
Can we use orelse to fill out a hash map? 4 messages
Help with arrays and types 4 messages
Printing float with precision is incorrectly rounded 14 messages
"Hello World" with `zig c++` fails due to --dependency-file 7 messages
Build System 0.14.x New User Answered
[build.zig] Getting the destination of a std.Build.Step.InstallDir 2 messages
Build System 0.14.x Standard Library Answered
Syntax of align(N) and usage 13 messages
master New User Answered
Is there a 'no allocator' ArrayList? 6 messages
Answered
How to make a pointer to a static string 14 messages
Answered
@constCast safety/guarantees 14 messages
What is the effect of having a comptime function parameter? 2 messages
Zig errors on importing a module with, file exists in multiple modules 2 messages
0.14.x Answered
Is it possible to call zig fmt programmatically on a string? 6 messages
How to link to system installed libstdc++ / compile a openmp application 9 messages
Inotify hits unreachable code 21 messages
0.14.x