Constant std::env::consts::ARCH

1.0.0 · source ·
pub const ARCH: &'static str = _;
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