Constant no_std_compat::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
  • loongarch64
  • m68k
  • csky
  • mips
  • mips64
  • powerpc
  • powerpc64
  • riscv64
  • s390x
  • sparc64