zig-help

21196 threads · Page 245 of 424

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