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