fn map_darwin_target_from_rust_to_compiler_architecture(target: &str) -> Option<&'static str> {
    if target.contains("x86_64") {
        Some("x86_64")
    } else if target.contains("arm64e") {
        Some("arm64e")
    } else if target.contains("aarch64") {
        Some("arm64")
    } else if target.contains("i686") {
        Some("i386")
    } else if target.contains("powerpc") {
        Some("ppc")
    } else if target.contains("powerpc64") {
        Some("ppc64")
    } else {
        None
    }
}
// Rust and clang/cc don't agree on how to name the target.
Rust and clang/cc don't agree on how to name the target.
Rust and clang / cc don ' t agree on how to name the target .
fn map_darwin_target_from_rust_to_compiler_architecture(target: &str) -> Option<&'static str> {
    if target.contains("x86_64") {
        Some("x86_64")
    } else if target.contains("arm64e") {
        Some("arm64e")
    } else if target.contains("aarch64") {
        Some("arm64")
    } else if target.contains("i686") {
        Some("i386")
    } else if target.contains("powerpc") {
        Some("ppc")
    } else if target.contains("powerpc64") {
        Some("ppc64")
    } else {
        None
    }
}
fn map_darwin_target_from_rust_to_compiler_architecture ( target : & str ) -> Option < & ' static str > { if target . contains ( " " ) { Some ( " " ) } else if target . contains ( " " ) { Some ( " " ) } else if target . contains ( " " ) { Some ( " " ) } else if target . contains ( " " ) { Some ( " " ) } else if target . contains ( " " ) { Some ( " " ) } else if target . contains ( " " ) { Some ( " " ) } else { None } }
Rust and clang/cc don't agree on how to name the target.
Rust and clang / cc don ' t agree on how to name the target .
target
&str