i'm building an ARM emulator in Zig, i have a structure for the registers, it's a pretty elaborate packed struct for addressing the same data in different ways. The definition is pretty large, but ultimately i'm having issues with this failing ```c++
r.arm.hir.r08.usr = 8;
try std.testing.expectEqual(r.arm.hir.r08.usr, 8);
where `hir` looks like ```c++
packed struct {
/// Program counter
r15: u32,
r14: Banked(u32),
r13: Banked(u32),
r12: FiqBanked(u32),
r11: FiqBanked(u32),
r10: FiqBanked(u32),
r09: FiqBanked(u32),
r08: FiqBanked(u32),
},
and FiqBanked function is
pub fn FiqBanked(comptime T: type) type {
return packed struct {
usr: T,
fiq: T
};
}
Anyone see any major issues with this? i'm a little lost. Thanks in advance!
