Skip to content

Commit

Permalink
do not run test where it cannot run
Browse files Browse the repository at this point in the history
This was seen on Ferrocene, where we have a custom test target that does not have unwind support
  • Loading branch information
tshepang authored Jul 9, 2024
1 parent e466bf5 commit 7d20047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alloc/src/slice/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ fn panic_safe() {

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

Expand Down

0 comments on commit 7d20047

Please sign in to comment.