File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ fn assert_covariance() {
282
282
//
283
283
// Destructors must be called exactly once per element.
284
284
#[ test]
285
- #[ cfg( not( miri) ) ] // Miri does not support entropy
285
+ #[ cfg( not( miri) ) ] // Miri does not support panics nor entropy
286
286
fn panic_safe ( ) {
287
287
static DROP_COUNTER : AtomicUsize = AtomicUsize :: new ( 0 ) ;
288
288
Original file line number Diff line number Diff line change @@ -1397,6 +1397,7 @@ fn test_box_slice_clone() {
1397
1397
#[ test]
1398
1398
#[ allow( unused_must_use) ] // here, we care about the side effects of `.clone()`
1399
1399
#[ cfg_attr( target_os = "emscripten" , ignore) ]
1400
+ #[ cfg( not( miri) ) ] // Miri does not support threads nor entropy
1400
1401
fn test_box_slice_clone_panics ( ) {
1401
1402
use std:: sync:: Arc ;
1402
1403
use std:: sync:: atomic:: { AtomicUsize , Ordering } ;
@@ -1588,6 +1589,7 @@ thread_local!(static SILENCE_PANIC: Cell<bool> = Cell::new(false));
1588
1589
1589
1590
#[ test]
1590
1591
#[ cfg_attr( target_os = "emscripten" , ignore) ] // no threads
1592
+ #[ cfg( not( miri) ) ] // Miri does not support threads nor entropy
1591
1593
fn panic_safe ( ) {
1592
1594
let prev = panic:: take_hook ( ) ;
1593
1595
panic:: set_hook ( Box :: new ( move |info| {
You can’t perform that action at this time.
0 commit comments