Skip to content

Commit 7e168a6

Browse files
committed
reduce slice::panic_safe test size further in Miri
1 parent 0a62b7d commit 7e168a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/tests/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ fn panic_safe() {
17221722
let mut rng = thread_rng();
17231723

17241724
// Miri is too slow
1725-
let lens = if cfg!(miri) { (1..10).chain(20..21) } else { (1..20).chain(70..MAX_LEN) };
1725+
let lens = if cfg!(miri) { (1..10).chain(0..0) } else { (1..20).chain(70..MAX_LEN) };
17261726
let moduli: &[u32] = if cfg!(miri) { &[5] } else { &[5, 20, 50] };
17271727

17281728
for len in lens {

0 commit comments

Comments
 (0)