pub enum Arch {
X86_64,
Aarch64,
Riscv64,
}Expand description
A target architecture.
Variants§
X86_64
x86-64, the first target and the one M3 brings up.
Aarch64
AArch64, the second target, M6.
Riscv64
64-bit RISC-V. spec/10-backend.md calls this the middle-end canary, because it has
no condition codes and no complex addressing modes, so anything the middle end got
away with on x86-64 shows up here.
Implementations§
Trait Implementations§
impl Copy for Arch
impl Eq for Arch
Source§impl Ord for Arch
impl Ord for Arch
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Arch
impl PartialOrd for Arch
impl StructuralPartialEq for Arch
Auto Trait Implementations§
impl Freeze for Arch
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnsafeUnpin for Arch
impl UnwindSafe for Arch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more