Skip to content

Commit

Permalink
Ignore vec_deque_alloc_error::test_shrink_to_unwind test on non-unw…
Browse files Browse the repository at this point in the history
…ind targets
  • Loading branch information
Veykril committed Jun 3, 2024
1 parent 494f05c commit fcc07af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alloc/tests/vec_deque_alloc_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use std::{
};

#[test]
#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
fn test_shrink_to_unwind() {
// This tests that `shrink_to` leaves the deque in a consistent state when
// the call to `RawVec::shrink_to_fit` unwinds. The code is adapted from #123369
Expand Down

0 comments on commit fcc07af

Please sign in to comment.