zig-help

21196 threads · Page 237 of 424

integer casts in C / C++ 7 messages
zig build test hangs in Sema beginning in 0.12.0-dev.3676+21a6a1b0f 10 messages
How to Check Zig Version on Build.zig? 5 messages
Integer overflow runtime panic which may be caught at compile time? 9 messages
Answered
Install/update 11 messages
Answered
Mutex crashes on lock 25 messages
pass null ptr to C function. 18 messages
New User Answered 0.13.x
How to "packed extern struct"? 3 messages
0.13.x
Why is error returned like this? 5 messages
Answered
How to emit header in latest zig 0.12 or master in build.zig? 2 messages
Variable length slices 9 messages
New User Answered
oddities in `std.builtin.Type` and friends 21 messages
Review my Zig <-> C interop networking code please 5 messages
Passing Multidimensional arrays to function 31 messages
decls in reified types workaround 51 messages
question about toOwnedSliceSentinel 9 messages
runtime const 7 messages
Standard Library Compiler
Get Most Significant Byte from u16 (and how does shifting work in Zig)? 37 messages
0.11.x
anytype as return type ? 4 messages
package management 11 messages
reference to comptime var 48 messages
Answered
0.12.0 write/readIntNative migration? + @import("builtin") autocomplete 2 messages
Standard Library New User
get date without time.h 6 messages
0.13.x Standard Library New User Answered
Setting up Zig with Docker 6 messages
Update to 0.12.0 using VScode extension? 7 messages
New User
Zig build limine questions 20 messages
compiling Ziglings sets off Windows defender 8 messages
can you programatically redirect stderr and stdout of a Run step? 15 messages
Zig for HFT 38 messages
Is it poor practice to return fields of a tagged union? 16 messages
To get program version based on `build.zig.zon` 3 messages
increment struct fields 10 messages
Answered
Compiling a .c file multiple times with different flags 3 messages
Strange behavior with raylib 11 messages
Zig test swallows log messages 2 messages
Standard Library New User 0.13.x
how do I do Channels 5 messages
Packed struct backing integer type too big 5 messages
0.13.x
Compiler warnings about a var variable being a constant. 6 messages
New User Answered 0.13.x
how can I append a number to a string? 12 messages
Answered
Segmentation fault when calling C functions 54 messages
New User 0.13.x
Get field of struct by variable value? 9 messages
0.11.x
Cannot understand the behavior when using allocator and allocator.destory(). 6 messages
New User Answered 0.13.x
Sysconf not supported linux? 4 messages
Answered
how to change the default value for the global cache directory 6 messages
Answered
Zig build failing successfully? 13 messages
Compiler Answered 0.13.x
What's the point of inline switch prongs? 18 messages
how to check if @intCast would succeed. 3 messages
zig cc with winpthreads? 2 messages
Weird behaviour when simply priting an input file 15 messages
Answered
Writing u8 slices vs arrays 16 messages
Standard Library 0.11.x New User Answered