pub enum Arch {
Amd64,
Arm64,
Arm,
I386,
Riscv64,
Ppc64le,
S390x,
}Expand description
Supported CPU architectures for file naming.
These are the canonical architecture names used in .env.<ARCH> file
patterns. Input values are normalized to these canonical forms.
Variants§
Amd64
AMD64/x86-64 architecture
Matches: amd64, x64, x86_64
Arm64
ARM64/AArch64 architecture
Matches: arm64, aarch64
Arm
32-bit ARM architecture
Matches: arm, armv7, armv7l
I386
32-bit x86 architecture
Matches: i386, i686, x86
Riscv64
RISC-V 64-bit architecture
Matches: riscv64, riscv64gc
Ppc64le
PowerPC 64-bit Little Endian
Matches: ppc64le, powerpc64le
S390x
IBM System/390 (s390x)
Matches: s390x
Implementations§
Trait Implementations§
impl Copy for Arch
impl Eq 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 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