rustc_codegen_llvm::llvm_util

Function handle_native

Source
fn handle_native(cpu_name: &str) -> &str
Expand description

If the given string is "native", returns the host CPU name according to LLVM. Otherwise, the string is returned as-is.