Skip to content

Commit 0ea4b50

Browse files
committed
Miri is not deterministic any more
1 parent b067313 commit 0ea4b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-pass/heap_allocator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ fn check_overalign_requests<T: Alloc>(mut allocator: T) {
3333
let size = 8;
3434
// Greater than `size`.
3535
let align = 16;
36-
// Miri is deterministic; no need to try many times.
37-
let iterations = 1;
36+
37+
let iterations = 5;
3838
unsafe {
3939
let pointers: Vec<_> = (0..iterations).map(|_| {
4040
allocator.alloc(Layout::from_size_align(size, align).unwrap()).unwrap()

0 commit comments

Comments
 (0)