From 8861d0cc428caf88955d274f91f812cb66494994 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 3 Mar 2022 11:24:38 -0600 Subject: [PATCH] fuzz: Update pooling allocator limits on tables (#3880) Another instance similar to #3879 where when doing differential tests the pooling allocator configuration needs to be updated to allow for a possible table. --- crates/fuzzing/src/generators.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/fuzzing/src/generators.rs b/crates/fuzzing/src/generators.rs index 7601af6f2f..c38dd55058 100644 --- a/crates/fuzzing/src/generators.rs +++ b/crates/fuzzing/src/generators.rs @@ -304,6 +304,8 @@ impl Config { limits.memories = 1; limits.memory_pages = 1; + limits.tables = 1; + match &mut self.wasmtime.memory_config { MemoryConfig::Normal(config) => { config.static_memory_maximum_size = Some(limits.memory_pages * 0x10000);