Skip to content

Commit

Permalink
Fix benchmarks build
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Aug 16, 2023
1 parent c4aa70e commit f14b6ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benches/thread_eager_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ fn test_setup() -> (Engine, Module) {
let pool_count = 10;

let mut pool = PoolingAllocationConfig::default();
pool.instance_count(pool_count).instance_memory_pages(1);
pool.total_memories(pool_count)
.total_stacks(pool_count)
.total_tables(pool_count);
let mut config = Config::new();
config.allocation_strategy(InstanceAllocationStrategy::Pooling(pool));
let engine = Engine::new(&config).unwrap();
Expand Down

0 comments on commit f14b6ce

Please sign in to comment.