Skip to main content
get_host_cpu_name
rustc_
codegen_
llvm
1.102.0-nightly
(5f4effd57 2026-11-13)
In rustc_
codegen_
llvm::
llvm_
util
rustc_codegen_llvm
::
llvm_util
Function
get_
host_
cpu_
name
Copy item path
Source
fn get_host_cpu_name() -> &'static
str
Expand description
Returns the host CPU name, according to LLVM.