Skip to main content
NATIVE_CPU
rustc_
session
1.102.0-nightly
(f5cedb83a 2026-11-07)
In rustc_
session::
config
rustc_session
::
config
Constant
NATIVE_
CPU
Copy item path
Source
pub const NATIVE_CPU: &
str
= "native";
Expand description
Special CPU name requesting the CPU of the current host.