Skip to content

Commit 393d933

Browse files
committed
Use an outlandish target feature for the negative case
1 parent 1b79bb9 commit 393d933

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/ui/sse2.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919
assert!(cfg!(target_feature = "sse2"),
2020
"SSE2 was not detected as available on an x86 platform");
2121
}
22-
// check a negative case too -- allowed on x86, but not enabled by default
23-
assert!(cfg!(not(target_feature = "avx512f")),
24-
"AVX512 shouldn't be detected as available by default on any platform");
22+
// check a negative case too -- certainly not enabled by default
23+
assert!(cfg!(not(target_feature = "ferris_wheel")),
24+
"🎡 shouldn't be detected as available by default on any platform");
2525
}

0 commit comments

Comments
 (0)