File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ fn assert_covariance() {
282282//
283283// Destructors must be called exactly once per element.
284284#[ test]
285- #[ cfg( not( miri) ) ] // Miri does not support entropy
285+ #[ cfg( not( miri) ) ] // Miri does not support panics nor entropy
286286fn panic_safe ( ) {
287287 static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
288288
Original file line number Diff line number Diff line change @@ -1397,6 +1397,7 @@ fn test_box_slice_clone() {
13971397#[ test]
13981398#[ allow( unused_must_use) ] // here, we care about the side effects of `.clone()`
13991399#[ cfg_attr( target_os = "emscripten" , ignore) ]
1400+ #[ cfg( not( miri) ) ] // Miri does not support threads nor entropy
14001401fn test_box_slice_clone_panics ( ) {
14011402 use std:: sync:: Arc ;
14021403 use std:: sync:: atomic:: { AtomicUsize , Ordering } ;
@@ -1588,6 +1589,7 @@ thread_local!(static SILENCE_PANIC: Cell<bool> = Cell::new(false));
15881589
15891590#[ test]
15901591#[ cfg_attr( target_os = "emscripten" , ignore) ] // no threads
1592+ #[ cfg( not( miri) ) ] // Miri does not support threads nor entropy
15911593fn panic_safe ( ) {
15921594 let prev = panic:: take_hook ( ) ;
15931595 panic:: set_hook ( Box :: new ( move |info| {
You can’t perform that action at this time.
0 commit comments