We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b067313 commit 0ea4b50Copy full SHA for 0ea4b50
tests/run-pass/heap_allocator.rs
@@ -33,8 +33,8 @@ fn check_overalign_requests<T: Alloc>(mut allocator: T) {
33
let size = 8;
34
// Greater than `size`.
35
let align = 16;
36
- // Miri is deterministic; no need to try many times.
37
- let iterations = 1;
+
+ let iterations = 5;
38
unsafe {
39
let pointers: Vec<_> = (0..iterations).map(|_| {
40
allocator.alloc(Layout::from_size_align(size, align).unwrap()).unwrap()
0 commit comments