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) {
            // Skip all reference types tests on the old backend. The modern
            // implementation of reference types uses atomic instructions
            // for reference counts on `externref`, but the old backend does not
            // implement atomic instructions.
            ("reference_types", _) if cfg!(feature = "old-x86-backend") => return true,
            // Skip all SIMD tests on old backend, there are instructions not
            // implemented there and support is generally not maintained.
            ("simd", _) if cfg!(feature = "old-x86-backend") => return true,
            // No simd support yet for s390x.
            ("simd", _) if platform_is_s390x() => return true,

            // These are new instructions that are not really implemented in any backend.
            ("simd", "simd_conversions")
            | ("simd", "simd_i16x8_extadd_pairwise_i8x16")
            | ("simd", "simd_i16x8_extmul_i8x16")
            | ("simd", "simd_i32x4_extadd_pairwise_i16x8")
            | ("simd", "simd_i32x4_extmul_i16x8")
            | ("simd", "simd_i64x2_extmul_i32x4") => return true,

            _ => {}
        },
        _ => 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) {
            // Skip all reference types tests on the old backend. The modern
            // implementation of reference types uses atomic instructions
            // for reference counts on `externref`, but the old backend does not
            // implement atomic instructions.
            ("reference_types", _) if cfg!(feature = "old-x86-backend") => return true,
            // Skip all SIMD tests on old backend, there are instructions not
            // implemented there and support is generally not maintained.
            ("simd", _) if cfg!(feature = "old-x86-backend") => return true,
            // No simd support yet for s390x.
            ("simd", _) if platform_is_s390x() => return true,
            // These are new instructions that are not really implemented in any backend.
            ("simd", "simd_conversions")
            | ("simd", "simd_i16x8_extadd_pairwise_i8x16")
            | ("simd", "simd_i16x8_extmul_i8x16")
            | ("simd", "simd_i32x4_extadd_pairwise_i16x8")
            | ("simd", "simd_i32x4_extmul_i16x8")
            | ("simd", "simd_i64x2_extmul_i32x4") => return true,
            _ => {}
        },
        _ => 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 ) { // Skip all reference types tests on the old backend. The modern // implementation of reference types uses atomic instructions // for reference counts on `externref`, but the old backend does not // implement atomic instructions. ( " " , _ ) if cfg ! ( feature " " ) => return true , // Skip all SIMD tests on old backend, there are instructions not // implemented there and support is generally not maintained. ( " " , _ ) if cfg ! ( feature " " ) => return true , // No simd support yet for s390x. ( " " , _ ) if platform_is_s390x ( ) => return true , // These are new instructions that are not really implemented in any backend. ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) | ( " " , " " ) => return true , _ => { } } , _ => 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