pub const DwarfFormat = enum(u2) pub fn init(df: ?std.dwarf.Format) DwarfFormat1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714 pub const DwarfFormat = enum(u2) {
@"32",
@"64",
default,
pub fn init(df: ?std.dwarf.Format) DwarfFormat {
return switch (df orelse return .default) {
.@"32" => .@"32",
.@"64" => .@"64",
};
}
}