Skip to main content
get_host_cpu_name
rustc_
codegen_
llvm
1.96.0-beta.5
(a5a9a5438 2026-05-01)
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.