Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a18fbd0

Browse files
authoredJul 10, 2024
Rollup merge of rust-lang#127554 - ferrocene:tshepang-add-missing-attribute, r=pietroalbini
do not run test where it cannot run This was seen on Ferrocene, where we have a custom test target that does not have unwind support
2 parents 4552576 + 7d20047 commit a18fbd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎alloc/src/slice/tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ fn panic_safe() {
240240

241241
#[test]
242242
#[cfg_attr(miri, ignore)] // Miri is too slow
243+
#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
243244
fn test_sort() {
244245
let mut rng = test_rng();
245246

0 commit comments

Comments
 (0)
Failed to load comments.