Skip to main content

target_enabled

Function target_enabled 

Source
pub fn target_enabled(target: &str) -> Result<bool>
Expand description

Return whether LLVM can create a target machine for the target string target, such as "llvm -mtriple=aarch64-linux-gnu" (codegen.llvm_target_enabled).