Skip to content

Commit

Permalink
fixup! tests: add tests/spec_testsuite/proposals/threads
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Nov 18, 2022
1 parent 48e3e8d commit 1b680f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/all/wast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::sync::{Condvar, Mutex};
use wasmtime::{
Config, Engine, InstanceAllocationStrategy, PoolingAllocationConfig, Store, Strategy,
};
use wasmtime_environ::WASM_PAGE_SIZE;
use wasmtime_wast::WastContext;

include!(concat!(env!("OUT_DIR"), "/wast_testsuite_tests.rs"));
Expand Down Expand Up @@ -68,7 +69,7 @@ fn run_wast(
// Don't use 4gb address space reservations when not hogging memory, and
// also don't reserve lots of memory after dynamic memories for growth
// (makes growth slower).
cfg.static_memory_maximum_size(0);
cfg.static_memory_maximum_size(2 * WASM_PAGE_SIZE as u64);
cfg.dynamic_memory_reserved_for_growth(0);
}

Expand Down

0 comments on commit 1b680f2

Please sign in to comment.