fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
    match strategy {
        #[cfg(feature = "lightbeam")]
        "Lightbeam" => match (testsuite, testname) {
            ("simd", _) => return true,
            ("multi_value", _) => return true,
            ("reference_types", _) => return true,
            ("bulk_memory_operations", _) => return true,
            _ => (),
        },
        "Cranelift" => match (testsuite, testname) {
            // TODO(#1886): Ignore reference types tests if this isn't x64,
            // because Cranelift only supports reference types on x64.
            ("reference_types", _) => {
                return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64";
            }

            // Ignore all x64 SIMD tests for now (#2470).
            ("simd", _) if cfg!(feature = "experimental_x64") => {
                return env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "x86_64";
            }

            // These are only implemented on aarch64 and x64.
            ("simd", "simd_boolean")
            | ("simd", "simd_f32x4_pmin_pmax")
            | ("simd", "simd_f64x2_pmin_pmax")
            | ("simd", "simd_f32x4_rounding")
            | ("simd", "simd_f64x2_rounding")
            | ("simd", "simd_i32x4_dot_i16x8") => {
                return !(cfg!(feature = "experimental_x64")
                    || env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "aarch64")
            }

            _ => {}
        },
        _ => panic!("unrecognized strategy"),
    }

    false
}
/// Ignore tests that aren't supported yet.
Ignore tests that aren't supported yet.
Ignore tests that aren ' t supported yet .
fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
    match strategy {
        #[cfg(feature = "lightbeam")]
        "Lightbeam" => match (testsuite, testname) {
            ("simd", _) => return true,
            ("multi_value", _) => return true,
            ("reference_types", _) => return true,
            ("bulk_memory_operations", _) => return true,
            _ => (),
        },
        "Cranelift" => match (testsuite, testname) {
            // TODO(#1886): Ignore reference types tests if this isn't x64,
            // because Cranelift only supports reference types on x64.
            ("reference_types", _) => {
                return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64";
            }
            // Ignore all x64 SIMD tests for now (#2470).
            ("simd", _) if cfg!(feature = "experimental_x64") => {
                return env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "x86_64";
            }
            // These are only implemented on aarch64 and x64.
            ("simd", "simd_boolean")
            | ("simd", "simd_f32x4_pmin_pmax")
            | ("simd", "simd_f64x2_pmin_pmax")
            | ("simd", "simd_f32x4_rounding")
            | ("simd", "simd_f64x2_rounding")
            | ("simd", "simd_i32x4_dot_i16x8") => {
                return !(cfg!(feature = "experimental_x64")
                    || env::var("CARGO_CFG_TARGET_ARCH").unwrap() == "aarch64")
            }
            _ => {}
        },
        _ => panic!("unrecognized strategy"),
    }
    false
}
fn ignore ( testsuite : & str , testname : & str , strategy : & str ) -> bool { match strategy { # [ cfg ( feature " " ) ] " " => match ( testsuite , testname ) { ( " " , _ ) => return true , ( " " , _ ) => return true , ( " " , _ ) => return true , ( " " , _ ) => return true , _ => ( ) , } , " " => match ( testsuite , testname ) { // TODO(#1886): Ignore reference types tests if this isn't x64, // because Cranelift only supports reference types on x64. ( " " , _ ) => { return env :: var ( " " ) . unwrap ( ) != " " ; } // Ignore all x64 SIMD tests for now (#2470). ( " " , _ ) if cfg ! ( feature " " ) => { return env :: var ( " " ) . unwrap ( ) == " " ; } // These are only implemented on aarch64 and x64. ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) => { return ! ( cfg ! ( feature " " ) || env :: var ( " " ) . unwrap ( ) == " " ) } _ => { } } , _ => panic ! ( " " ) , } false }
Ignore tests that aren't supported yet.
Ignore tests that aren ' t supported yet .
testsuite
&str
testname
&str
strategy
&str
testsuite
&str
testname
&str
strategy
&str