File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ fn assert_covariance() {
347
347
// Destructors must be called exactly once per element.
348
348
// FIXME: re-enable emscripten once it can unwind again
349
349
#[ test]
350
- #[ cfg( not( any ( miri , target_os = "emscripten" ) ) ) ] // Miri does not support catching panics
350
+ #[ cfg( not( target_os = "emscripten" ) ) ]
351
351
fn panic_safe ( ) {
352
352
use std:: cmp;
353
353
use std:: panic:: { self , AssertUnwindSafe } ;
Original file line number Diff line number Diff line change @@ -944,10 +944,9 @@ fn drain_filter_complex() {
944
944
}
945
945
}
946
946
947
- // Miri does not support catching panics
948
947
// FIXME: re-enable emscripten once it can unwind again
949
948
#[ test]
950
- #[ cfg( not( any ( miri , target_os = "emscripten" ) ) ) ]
949
+ #[ cfg( not( target_os = "emscripten" ) ) ]
951
950
fn drain_filter_consumed_panic ( ) {
952
951
use std:: rc:: Rc ;
953
952
use std:: sync:: Mutex ;
@@ -999,7 +998,7 @@ fn drain_filter_consumed_panic() {
999
998
1000
999
// FIXME: Re-enable emscripten once it can catch panics
1001
1000
#[ test]
1002
- #[ cfg( not( any ( miri , target_os = "emscripten" ) ) ) ] // Miri does not support catching panics
1001
+ #[ cfg( not( target_os = "emscripten" ) ) ]
1003
1002
fn drain_filter_unconsumed_panic ( ) {
1004
1003
use std:: rc:: Rc ;
1005
1004
use std:: sync:: Mutex ;
You can’t perform that action at this time.
0 commit comments