Function cfg_expr::targets::get_builtin_target_by_triple[][src]

pub fn get_builtin_target_by_triple(
    triple: &str
) -> Option<&'static TargetInfo<'static>>
Expand description

Attempts to find the TargetInfo for the specified target triple

assert!(cfg_expr::targets::get_builtin_target_by_triple("x86_64-unknown-linux-musl").is_some());