zig-help
Wrapping `-%` subtraction: 'usize' cannot represent integer value '-1'
Answered
Question about compiler implementation details
Compiler
New User
Answered
Is "const Cat = @import("cat.zig").Cat;" is how u import one-struct files?
New User
Answered
Function Signature For Generics
CFLAGS
Answered
Does memcmp exist in zig?
Compiler
New User
Answered
Help with lock free Queue
How would i handle strings that need to be changing length.
Cross-compiling Zig for MIPS-I
Compiler
0.11.x
Moving while condition to the next line
0.13.x
.print() question
Zig build skill issue
New User
CSFML and Zig
Answered
How to tell Zig to use a different llvm?
Mapping zig errors to integer error codes
How to convert from a const fixed-size array to a const slice?
Answered
Swap the contents of two slices (without temporary allocation)
Answered
Naming Convention question:
examples of multi package repositories
Answered
Zig beginner here. What's a more idiomatic way to rewrite the following code?
0.11.x
New User
How do I use a Writer to write to stdout or get as string when needed?
Standard Library
Answered
0.13.x
Any simple way to repeat a space for print? (non comptime)
Answered
@cos() Precision Problem
Standard Library
0.11.x
New User
Answered
enums and array indices
Returning a formatted string
New User
Cleaner way to add `u16` to `i8`
0.11.x
0.13.x
Can't make union field comptime
Answered
How to query the capacity of a BoundedArray type at comptime?
Unable to use C code in zig
What's more Zig-like for exposing rarely-used config options in a package api?
pizza and slice ergonomics
Answered
Check if it's root module at comptime
"Bus error" while using ArenaAllocator
0.13.x
Pattern for reusable code to be used at build-time?
0.11.x
New User
Answered
zigling 31 switch2
how to add environment variable to a system command in build.zig using a LazyPath
Cross-referencing programmatically constructed structs
Answered
allocate a [*c]u8 in zig.
Standard Library
Answered
0.13.x
Is there a way to zero-initialize a struct on allocation?
Answered
[solved] question about "runtime value contains reference to comptime var"
Compiler
0.13.x
Is there a windows version of mmap?
RwLock questions
why this is compile
How to cast a *void received from C code to to *Foo in zig?
Standard Library
Answered
0.13.x
C import fails
New User
Answered
0.13.x
What bytes are exotically sizes loads/stores guaranteed to touch?
Answered
Why is zigbuild claiming my hash is not in sha2-256 format?
Answered
Efficient Type Check
0.11.x
Answered
When to use C pointers
Answered
Why does 'pub' exist?