From 8cfb55209053f1186b4173a780c1a3b686b7dec1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 18 Mar 2022 12:17:24 -0500 Subject: [PATCH] Increase instance size limit when fuzzing (#3943) In today's installment of the Wondrous Adventures of What Are the Actual Limits on the Pooling Allocator Required to Run the Spec Tests a fuzz bug was found where the instance size wasn't big enough to run `names.wast`. Today's episode is similar to prior episodes where a limit is bumped until the test passes. --- crates/fuzzing/src/generators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fuzzing/src/generators.rs b/crates/fuzzing/src/generators.rs index 78d4afe817..6c595dec8f 100644 --- a/crates/fuzzing/src/generators.rs +++ b/crates/fuzzing/src/generators.rs @@ -363,7 +363,7 @@ impl Config { limits.table_elements = limits.memories.max(1_000); limits.memory_pages = limits.memory_pages.max(900); limits.count = limits.count.max(500); - limits.size = limits.size.max(4096); + limits.size = limits.size.max(64 * 1024); match &mut self.wasmtime.memory_config { MemoryConfig::Normal(config) => {