Skip to content

Commit 8c0b292

Browse files
committed
Revert "Contracts affect execution time"
This reverts commit 9aacd383556111bb14229f3e4d144bd598b60738.
1 parent edc1293 commit 8c0b292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/tests/pass/shims/time-with-isolation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn test_time_passes() {
2727
// if `NANOSECONDS_PER_BASIC_BLOCK` changes. It may also need updating if the standard library
2828
// code that runs in the loop above changes.
2929
assert!(diff.as_millis() > 5);
30-
assert!(diff.as_millis() < 25);
30+
assert!(diff.as_millis() < 20);
3131
}
3232

3333
fn test_block_for_one_second() {

0 commit comments

Comments
 (0)