Home

Awesome

maybeuninit

License:EUPL Zig

This is a userlevel implementation of the undefined keyword in Zig.<br> It is inspired by MaybeUninit in Rust.

Minimum supported Zig

master

Each day will be tested in CI whether this project still builds on Zig master.

Recent changes

Issues

At the point of writing, it is impossible to create an uninitialized MaybeUninit(T), and later initialize it at compiletime.<br> This is an issue of the compiler, which tracks the current active field of packed and extern unions when used at compiletime, while it shouldn't.<br> The issue is reported to the Zig compiler, and can be followed here.