Ignore vec_deque_alloc_error::test_shrink_to_unwind
test on non-unw… · model-checking/verify-rust-std@fcc07af (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit fcc07af
Ignore vec_deque_alloc_error::test_shrink_to_unwind
test on non-unwind targets
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -8,6 +8,7 @@ use std::{ | ||
8 | 8 | }; |
9 | 9 | |
10 | 10 | #[test] |
11 | +#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")] | |
11 | 12 | fn test_shrink_to_unwind() { |
12 | 13 | // This tests that `shrink_to` leaves the deque in a consistent state when |
13 | 14 | // the call to `RawVec::shrink_to_fit` unwinds. The code is adapted from #123369 |