zig-help

21196 threads · Page 170 of 424

How to override version of a dependency's dependency in the build system 2 messages
is there a way to hide build command output when a build error occurs? 3 messages
Answered
Error in @as([]usize,&(@as([10]usize, undefined))) 4 messages
New User Answered
Explicit sentinel terminators. 14 messages
Answered
Create a slice inline 25 messages
New User Answered
Looking up a function at comptime, and calling it at runtime 30 messages
Why is the length of an slice const if it was passed to a function? 7 messages
0.14.x New User Answered
error: expected type '[][]main.Algebra.BinBlade', found '*const [16][16]main.Algebra.BinBlade' 5 messages
New User Answered
zig.std.time.Timer and Instant giving "unsuported" error, while on a amd 64 bit windows machine. 37 messages
Answered 0.13.x
poll stdin without blocking? 18 messages
Answered
Writing a comptime code. 5 messages
New User
Sneaky leak 42 messages
Answered
Freeing an allocated slice used for an extern C struct 29 messages
thread panic: reached unreachable code 9 messages
Answered 0.13.x
How to and is it a good idea to turn [:0] into const [:0]? 46 messages
Answered
inplace function declaration and use 36 messages
how to get a pointer to an element of a MultiArrayList 23 messages
0.14.x Standard Library New User Answered
zig cant find std c libraries? 10 messages
Build lib in same build.zig 2 messages
New User Answered
ArrayList segfaults on struct type 5 messages
0.14.x Standard Library New User
Divison by Zero baremetal OS 2 messages
New User Answered 0.13.x
Can I have dynamic function callbacks at runtime? 12 messages
delete past lines from stdout? 7 messages
turn a u8 into a list of bitflags? 9 messages
Answered
memory leak without explanation 12 messages
New User Standard Library Answered 0.13.x
Is there a way to get more verbose error messages for compiler errors? 12 messages
Compiler New User
unable to spawn custom test runner 3 messages
Answered
union access in inline switch error 4 messages
0.14.x Answered
int casting from c type 7 messages
Can I have something like `anytype` for struct fields? 7 messages
Build fails without an error, how to increase verbosity? 4 messages
0.14.x Answered
How to memcopy from one MultiArrayList to another with the exact same type? 6 messages
Answered
How can I experiment System V message queues in Zig? 3 messages
printing 12 messages
0.14.x New User
How to assign an address of some object to a pointer to anyopaque? 4 messages
help with usingnamespace alternative 9 messages
New User
How to use a fetched zig package? 11 messages
Answered
Using C library 101 messages
Zig Language Extention 6 messages
New User Answered
how to compile to wasm (build.zig)? 10 messages
Build System New User 0.13.x
Slice of Pointers in a Struct Field 8 messages
Does zig have introspection-ability? 7 messages
New User
using std.json.ArrayHashMap, but when I .deinit() I still get memory leaks. 6 messages
Answered 0.13.x
is it sane to bitcast a [2]u8 into a [4]u4? 18 messages
New User 0.13.x
Easiest / Best way to sort a [5]CustomStruct array based on a specified f64/u64 field in CustomStruc 15 messages
Answered 0.13.x
Runtime type conversion? 7 messages
Answered
Zig can't infer litteral array size 7 messages
0.14.x Compiler New User
access of union field 'player' while field 'player' is active 44 messages
Odd incorrect alignment error : trying to add 32 *bytes* to an already aligned address 4 messages
Answered 0.13.x
Is there any way to get information about who is calling a function at runtime? 4 messages
Standard Library Compiler New User Answered