Constant std::env::consts::ARCH

pub const ARCH: &str

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

Some possible values:

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

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.