Skip to content

Commit b067313

Browse files
committed
use intptrcast for heap_allocator test; then it should work on Windows
1 parent 048b00d commit b067313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/heap_allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// compile-flag: -Zmiri-seed=
12
#![feature(allocator_api)]
23

34
use std::ptr::NonNull;
@@ -75,7 +76,6 @@ fn box_to_global() {
7576
fn main() {
7677
check_alloc(System);
7778
check_alloc(Global);
78-
#[cfg(not(target_os = "windows"))] // TODO: Inspects allocation base address on Windows; needs intptrcast model
7979
check_overalign_requests(System);
8080
check_overalign_requests(Global);
8181
global_to_box();

0 commit comments

Comments
 (0)