zig-help

21196 threads · Page 242 of 424

Structs Question 15 messages
New User Answered 0.13.x
how to properly return callback 5 messages
Answered New User 0.13.x
What is a good way of implementing an interface? 26 messages
How do I ignore an error 6 messages
Answered
Returning local array (or slice?) 51 messages
Anyway to get the zig binary to decompress .zst files? 12 messages
Answered
Get src location of calling function 3 messages
New User Answered
failed to insert a string-value to a hashmap of string 18 messages
Casting from usize to isize with @intCast results in panick truncated bits 9 messages
Answered 0.13.x
SegFault when using std.debug.print wrapper function Inside a `for` loop 11 messages
0.11.x New User Answered
Segfault on running translated C 14 messages
zig.fmt creating very long single-liners 2 messages
Is it possible to include cglm library as header only ? 12 messages
0.11.x
error: error: unable to find dynamic system library 'GL' using strategy 'paths_first'. searched path 166 messages
Compiler New User 0.13.x
std ChildProcess exec during comptime 6 messages
How to Use Test Filters Outside of the Root File? 9 messages
Answered
Initializing a generic type with shared members 27 messages
Answered
Why `@typeInfo(struct {true})` gives `error: expected type 'type', found 'bool'` 16 messages
Is there any way to wait till child process exits? 2 messages
0.13.x
zig errors out while creating Enum from type information 3 messages
Compiler 0.13.x
advapi32.zig and modifying registry keys 28 messages
Standard Library New User 0.13.x
Library packages 41 messages
Answered
how to reinterpret u32 bits as an f32? 5 messages
`f64` to `f16` roundTiesToEven mode 7 messages
Is there a way to change the case of a comptime string? 14 messages
trying to implement a generic iterator on zig, what am i doing wrong here? 43 messages
What is the proper way to partially initialise an EnumMap? 5 messages
Standard Library 0.13.x
How can I make truly random number with std.rand?` 3 messages
problem with comptime 9 messages
New User 0.13.x
Multi-line string on the second parameter of std.fmt.allocPrint, is it possible? 3 messages
How to bench two functions? 56 messages
Why does Zig need `undefined` instead of doing a liveness analysis? 60 messages
child process 2 messages
Truncating utf8 -> utf16 conversion 3 messages
Answered
Detect if an entity is being referenced 5 messages
Answered
adding callconv(.C) to function causes UB 22 messages
0.13.x
How to compare two objects of type `net.StreamServer.Connection`? 5 messages
Cannot link X11 headers from mach fork 5 messages
Answered
Non-blocking way of checking if a `Stream` has something available to read? 4 messages
New User
enum method does not work 7 messages
Enum unqualifying 178 messages
Answered
type information of tuple/struct 7 messages
c pointer cast 4 messages
Stop zig from generating strings for enums 9 messages
Compiler Answered 0.13.x
d format specifier of signed ints 4 messages
New User Standard Library Answered 0.13.x
std.os.getrandom no longer exists? 3 messages
Is the wrong path in `LineInfo.file_name` a bug or am I missing something? 2 messages
zig-bootstrap `x86_64-windows-gnu` failing 15 messages
How to memcpy a multidimensional array? 24 messages
0.11.x
Zig hangs with "MachO Flush..." 3 messages
0.11.x New User