Casting union fields to union type #279
Labels
arch: none
Affects common code across architectures
blocked
Blocked on an external issue
bug
Something isn't working as it should
In VFS, we need to cast a element of the union
Node
to theNode
type. This is currently done using@ptrCast
but will have undefined behavior if the memory layout is not as expected.What we need is
@fieldParentPtr
, but is not implemented yet: ziglang/zig#6611The text was updated successfully, but these errors were encountered: