zig-help
is 2 allocator params a good or bad idea?
Answered
Is it possible to set a C file as the root source file in build.zig?
Answered
zig build targeting x86_64-macos for cgo?
Answered
unique id per type
Compiler
Answered
0.13.x
any way to convert to zig without overusing @intCast, @as, @truncate?
Undefined value from HashMap iterator?
Answered
Help with writing an ast in zig!
0.11.x
New User
what is the recommended way of doing `(-1..1),(-1..1)` offsetting in zig?
OpenAI POST request for the new api parameters
how smart is comptime?
pass error return trace through @call
0.13.x
How to use ZLS as with monaco-editor for web
Handling Errors
Is there a way to "embed" a struct in another?
Answered
@TypeOf and struct consts
0.11.x
New User
expected type '[*:0]const u8', found '[]const u8'
where is getpid() for macos?
Standard Library
0.13.x
zig error during compiler error report?
Please review my code
Why zig generates compile error for define macro whose argument is name of the struct
Answered
Is there a way to import something using an absolute path from the module root
Incompatible types in catch statement
Threads from the std
Answered
Unwrap multiple values
Answered
How can I listen to key presses and gracefully exit when required?
How to find memory issues on Windows? Valgrind I don't think works.
0.13.x
Interfaces/traits
Answered
zig fmt not formatting
Answered
Error in generic struct function
If there are no C libraries linked, is libc really completely optional?
Compiler
New User
Answered
How can I do 10^7?
Answered
input inside infinite loop; creating a menu-based program
Answered
New User
0.13.x
Why is this use of comptime necessary?
Answered
0.13.x
pointing to generic struct field, that is a tuples
New User
How to depend on Zig package with no build.zig.zon?
New User
Answered
0.13.x
Does for loop have step increment greater than one?
New User
Answered
New Build.LazyPath error
Compiler
0.13.x
How can I prevent unreachable error
Why does index operator `[0]` prevent `comptime` evaluation?
Answered
any way of converting `[32][10000]u32` into `[32*10000*4]u8`?
wrapping doesnt work with unsigned ints ??
can i pass multiple fields into functions?
New User
how to work with iterators more idiomatic
New User
Answered
0.13.x
Idiomatic way of constructing an integer from a contiguous sequence of bytes
Standard Library
New User
Answered
Output the test executable built by zig build test
ArrayList has Rust with_capacity?
Answered
How to stop json from returning error.MissingField on optional type
New User
Standard Library
Answered
0.13.x
windows .def files
Compiler
Weird test behaviour
Answered
Zig support for eZ80 CPU
Compiler
Answered
0.13.x