about summary refs log tree commit diff
path: root/src/liballoc/tests/binary_heap.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-11-22 23:11:56 +0100
committerRalf Jung <post@ralfj.de>2019-11-22 23:11:56 +0100
commit1e91e4e20a5d6e50e281c6e87a3a61cc735e266f (patch)
tree5a02f6cf566b30578b37343598ec30a4cf9a6678 /src/liballoc/tests/binary_heap.rs
parent083b5a0a1bb3b2ee0873697ebf37e88d85faa3e5 (diff)
downloadrust-1e91e4e20a5d6e50e281c6e87a3a61cc735e266f.tar.gz
rust-1e91e4e20a5d6e50e281c6e87a3a61cc735e266f.zip
enable panic-catching tests in Miri
Diffstat (limited to 'src/liballoc/tests/binary_heap.rs')
-rw-r--r--src/liballoc/tests/binary_heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/tests/binary_heap.rs b/src/liballoc/tests/binary_heap.rs
index a44cf1eaf6d..81b22ca815b 100644
--- a/src/liballoc/tests/binary_heap.rs
+++ b/src/liballoc/tests/binary_heap.rs
@@ -347,7 +347,7 @@ fn assert_covariance() {
 // Destructors must be called exactly once per element.
 // FIXME: re-enable emscripten once it can unwind again
 #[test]
-#[cfg(not(any(miri, target_os = "emscripten")))] // Miri does not support catching panics
+#[cfg(not(target_os = "emscripten"))]
 fn panic_safe() {
     use std::cmp;
     use std::panic::{self, AssertUnwindSafe};