zig-help

21196 threads · Page 341 of 424

How to download a file from the Internet using std 3 messages
Answered
Does anyone do tutoring here? >:3 26 messages
Is it possible to have an ArrayList inside a type just at compile-time? 31 messages
Answered
bytesAsValue error: `expected *[8]u8, passed []u8` 15 messages
0.10.x Standard Library Compiler Answered
using anonymous struct to unpackage a return struct 11 messages
Answered
convert `[:0]u8` to `[]u8 ++ .{0}` 8 messages
Iterate a std.PriorityQueue in order 14 messages
build.zig.zon: use local folder 3 messages
0.13.x
Build raylib game for web using Emscripten? 3 messages
Access `build.zig.zon` from source to avoid repeating project metadata 5 messages
How to mutate the value returned from an iterator? 11 messages
0.10.x New User
How on earth do you understand Zig error messages? 15 messages
Compiler New User
Idiom for named function arguments? 4 messages
subtracting an unsigned int by a signed int 46 messages
How to use std.fmt.format 39 messages
initializing a struct with an allocator 16 messages
How to cast ?*anyopaque to *@This()? I got alignment error. 9 messages
package manager woes, keyword: c wrapper package 15 messages
Answered
Is this safe? 14 messages
Zig vs C++ string 11 messages
How can I get the hash of a repository for use in build.zig.zon? 8 messages
Answered
Switch with @intFromEnum 52 messages
coping with C bitfields 8 messages
Answered 0.13.x
bootstrap compilation fails 29 messages
Dumb question about strings 4 messages
Install Zig in Debian 12 Bookworm 11 messages
How do I install the zig compiler on Linux? 122 messages
Compiler New User
Exporting written inside module to a shared lib 7 messages
New User Answered 0.13.x
defer and ifs 5 messages
0.13.x
Trying to get the cute_framework working with Zig 19 messages
0.10.x New User
optional unpack if not null pattern 3 messages
Answered
no dependency found in build.zig.zon, but it s there 2 messages
0.13.x
cImport functions stdin/stdout 5 messages
0.10.x
check if function parameter is comptime known to force comptime execution without requiring it? 11 messages
Answered
Zig Run 5 messages
New User Answered 0.13.x
Slice corruption? 22 messages
DOM API - Zig 8 messages
Weird Output 17 messages
Link errorsets across different binaries 9 messages
Zig Newbie Pointer Arithmetic 25 messages
0.10.x New User
send and receive emails 7 messages
Why `free` requires the length to be equal to the length of the most recent alloc? 4 messages
Answered
non-`usize` type on `for` loop index 6 messages
Answered
Build step: build.zig build-obj doesn't output to zig-out 10 messages
Compiler New User 0.13.x
How to pass a build option down to the dependencies C lib with `build.zig` 21 messages
Compiler Answered
Best way to keep zig install on latest nightly? 11 messages
Adding files outside of src directory? 4 messages
How to parse a JSON string with the std library? 24 messages
Answered
`const` modificator of type in function declaration, why not work 8 messages
How to build a static executable 55 messages
New User 0.13.x