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