Skip to content

Commit

Permalink
Unrolled build for rust-lang#127554
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rust-timer authored Jul 10, 2024
2 parents b215beb + af3aa36 commit 604312f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/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 604312f

Please sign in to comment.