zig-help

21196 threads · Page 109 of 424

Create anonymous struct with field at comptime 24 messages
[14.0] expected type 'type', found '@Type(.enum_literal)' 4 messages
0.14.x Compiler New User Answered
Is it possible to build and run with --watch? I can only get it to work with build only 9 messages
Build System 0.14.x
how would i read a file from the File type 2 messages
Answered
division by zero here causes undefined behavior 33 messages
Standard Library
Re: "Runtime polymorphism: why, how? - Alex Naskos" 4 messages
zls error after updating to 0.14.0 6 messages
Answered
How do I increase the default amount of WASM stack memory that Zig reserves? 4 messages
Answered 0.13.x
can't get build on save to work 2 messages
When using a packed struct as a bitfield, is there a way to set multiple fields at a time? 15 messages
Answered
0.14 Zon update unable to find module 7 messages
Build System New User
How do we free events in event loop when working with xcb? 3 messages
New User Answered 0.13.x
Double Free detected error in deinit function. I am new to zig. 5 messages
specifying cpu features in cli when using zig cc 23 messages
correct way to compile a raylib project to wasm? 9 messages
Build System
How to realize volatile flag in struct 3 messages
after upgrading to 0.14.0, zig needs to fetch packages every time I compile 21 messages
panic: 'usingnamespace' is not supported by incremental compilation 8 messages
0.14.x
How to read stdout/stderr real-time command ouput using std.process.Child? 10 messages
trying to pass a string with a length of 5 to a function 12 messages
Answered
Zig tries to read a non-existing source file that isn't referenced anywhere 11 messages
Answered
How to reference APIs from `root.zig` within `src/lib/` files 8 messages
Is it really not possible to prevent a struct from being copied? 74 messages
New User
Error Setting Up raylib-zig 8 messages
New User 0.13.x
error: expected pointer type, found 'fn (*os.windows.HINSTANCE__opaque_25171, u32, ?*anyopaque) call 2 messages
how to set up zig for nvchad 2 messages
New User Answered
how to make zls auto discard unused variables? 4 messages
Brand new user trying to allocate 6 messages
Standard Library New User Answered
StaticStringMap with 0.14.0? 8 messages
Why doesn't Zig support non-English language coders? 140 messages
Triggering make/cmake/ninja/bazel from build.zig 2 messages
Answered
Not sure how im getting memory leaks 15 messages
Answered
Help with understanding weird behavior in my code? 7 messages
Answered
expected type '*S', found '*const S' 3 messages
Standard Library Compiler
How do I make "generic" function parameters without using `anytype`? 5 messages
Answered
[solved] Can arrays be sentinel-terminated like slices? 10 messages
0.14.x New User Answered 0.13.x
[solved] Learning to think about [*]T vs []T vs [N]T 5 messages
0.14.x Standard Library Answered 0.13.x
Error on ZON after updating to 0.14 25 messages
Build System
Anyone managed to setup nvim-dap adapter for Zig? 4 messages
Answered
How can I use external files in tests? 3 messages
New User Answered 0.13.x
Why isn't the value of `token` changing? 4 messages
0.14.x New User Answered
Using std.zon to parse build.zig.zon 4 messages
[solved] Is it legal to return *const T from a function? 8 messages
0.14.x Standard Library Answered 0.13.x
How to generate random numbers in 0.14? 3 messages
Standard Library Answered
Changed semantics of [*c] slices in 0.14? 18 messages
When Zig 0.14 doesnt show where in your code you have an incorrect formatter? 10 messages
How do you make a slice in 0.14 that works with utf8Decode? 11 messages
How do you assign a placeholder empty string in zig 0.14? 15 messages
segfault while trying to print 12 messages
New User Answered 0.13.x
InternPool's use of ArrayHashMapUnmanaged(void, void, ...) 54 messages
Answered