diff options
| author | Aaron Loucks <aloucks@cofront.net> | 2019-05-27 12:55:59 -0400 |
|---|---|---|
| committer | Aaron Loucks <aloucks@cofront.net> | 2019-05-27 12:55:59 -0400 |
| commit | f5ab0313fe9330717e6697b148bcdd0bb78f3508 (patch) | |
| tree | c41844a37f3225fda4fffc033767c684bf4616f2 /src/liballoc | |
| parent | b13ae65b8b995bc851708380d80eae301c39f1c6 (diff) | |
| download | rust-f5ab0313fe9330717e6697b148bcdd0bb78f3508.tar.gz rust-f5ab0313fe9330717e6697b148bcdd0bb78f3508.zip | |
Disable drain_filter tests that require catch_unwind on miri
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/tests/vec.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/tests/vec.rs b/src/liballoc/tests/vec.rs index a89b8aa4a71..07ee3741268 100644 --- a/src/liballoc/tests/vec.rs +++ b/src/liballoc/tests/vec.rs @@ -946,6 +946,7 @@ fn drain_filter_complex() { } #[test] +#[cfg(not(miri))] // Miri does not support catching panics fn drain_filter_consumed_panic() { use std::rc::Rc; use std::sync::Mutex; @@ -996,6 +997,7 @@ fn drain_filter_consumed_panic() { } #[test] +#[cfg(not(miri))] // Miri does not support catching panics fn drain_filter_unconsumed_panic() { use std::rc::Rc; use std::sync::Mutex; |
