Skip to content

Commit

Permalink
use intptrcast for heap_allocator test; then it should work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 30, 2019
1 parent 048b00d commit b067313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-pass/heap_allocator.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// compile-flag: -Zmiri-seed=
#![feature(allocator_api)]

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

0 comments on commit b067313

Please sign in to comment.