diff options
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/builtin.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index 9ce293495a..b8e3acaad8 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -469,10 +469,10 @@ pub const CallingConvention = union(enum(u8)) { /// The boundary the stack is aligned to when the function is called. /// `null` means the default for this calling convention. incoming_stack_alignment: ?u64 = null, - /// The privilege level. - level: PrivilegeLevel = .machine, + /// The privilege mode. + mode: PrivilegeMode = .machine, - pub const PrivilegeLevel = enum(u2) { + pub const PrivilegeMode = enum(u2) { user, supervisor, machine, |
