Skip to content

Commit

Permalink
Fix build of cow.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 2, 2024
1 parent 98a25da commit e06ab0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/wasmtime/src/runtime/vm/cow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ mod test {
fn instantiate_no_image() {
let ty = dummy_memory();
let tunables = Tunables {
static_memory_reservation: 4 << 30,
memory_reservation: 4 << 30,
..Tunables::default_miri()
};
// 4 MiB mmap'd area, not accessible
Expand Down Expand Up @@ -838,7 +838,7 @@ mod test {
let page_size = host_page_size();
let ty = dummy_memory();
let tunables = Tunables {
static_memory_reservation: 4 << 30,
memory_reservation: 4 << 30,
..Tunables::default_miri()
};
// 4 MiB mmap'd area, not accessible
Expand Down Expand Up @@ -911,7 +911,7 @@ mod test {
let page_size = host_page_size();
let ty = dummy_memory();
let tunables = Tunables {
static_memory_reservation: 100 << 16,
memory_reservation: 100 << 16,
..Tunables::default_miri()
};
let mut mmap = Mmap::accessible_reserved(0, 4 << 20).unwrap();
Expand Down Expand Up @@ -964,8 +964,8 @@ mod test {
let page_size = host_page_size();
let ty = dummy_memory();
let tunables = Tunables {
static_memory_reservation: 0,
dynamic_memory_growth_reserve: 200,
memory_reservation: 0,
memory_reservation_for_growth: 200,
..Tunables::default_miri()
};

Expand Down

0 comments on commit e06ab0d

Please sign in to comment.