Constant std::env::consts::ARCH

1.0.0· source[]
pub const ARCH: &str = "x86_64";
Expand description

A string describing the architecture of the CPU that is currently in use.

Some possible values:

  • x86
  • x86_64
  • arm
  • aarch64
  • m68k
  • mips
  • mips64
  • powerpc
  • powerpc64
  • riscv64
  • s390x
  • sparc64