Skip to content

Commit 400b409

Browse files
committed
Auto merge of #61691 - RalfJung:miri-slow, r=Centril
Miri: disable a slow test
2 parents 07c3967 + 60d8675 commit 400b409

File tree

1 file changed

+2
-0
lines changed
  • src/libcore/tests/num/dec2flt

1 file changed

+2
-0
lines changed

src/libcore/tests/num/dec2flt/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fn ordinary() {
3131
test_literal!(0.1);
3232
test_literal!(12345.);
3333
test_literal!(0.9999999);
34+
#[cfg(not(miri))] // Miri is too slow
3435
test_literal!(2.2250738585072014e-308);
3536
}
3637

@@ -77,6 +78,7 @@ fn zero() {
7778
test_literal!(0.0);
7879
test_literal!(1e-325);
7980
test_literal!(1e-326);
81+
#[cfg(not(miri))] // Miri is too slow
8082
test_literal!(1e-500);
8183
}
8284

0 commit comments

Comments
 (0)