remove default field for RiscvInterruptOptions.Mode

This commit is contained in:
David Rubin 2024-10-25 20:00:43 -07:00
parent 4adf63aefc
commit b122b9fbe0
No known key found for this signature in database
GPG Key ID: A4390FEB5F00C0A5

View File

@ -470,7 +470,7 @@ pub const CallingConvention = union(enum(u8)) {
/// `null` means the default for this calling convention.
incoming_stack_alignment: ?u64 = null,
/// The privilege mode.
mode: PrivilegeMode = .machine,
mode: PrivilegeMode,
pub const PrivilegeMode = enum(u2) {
supervisor,