Function cfg_expr::targets::get_builtin_target_by_triple
source ยท pub fn get_builtin_target_by_triple(triple: &str) -> Option<&'static TargetInfo>
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());