From 3fd674c6bc824ffe35592c878b75052b7bfb1a04 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 21 Oct 2021 16:36:37 -0700 Subject: [PATCH] async memory_grow_failed can have a default impl idk why this didnt work in the old factoring! but im glad it does --- crates/wasmtime/src/limits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasmtime/src/limits.rs b/crates/wasmtime/src/limits.rs index 02d6fcd814..7ca9cb07f1 100644 --- a/crates/wasmtime/src/limits.rs +++ b/crates/wasmtime/src/limits.rs @@ -104,7 +104,7 @@ pub trait ResourceLimiterAsync { ) -> bool; /// Identical to [`ResourceLimiter::memory_grow_failed`] - fn memory_grow_failed(&mut self, error: &anyhow::Error); + fn memory_grow_failed(&mut self, _error: &anyhow::Error) {} /// Asynchronous version of [`ResourceLimiter::table_growing`] async fn table_growing(&mut self, current: u32, desired: u32, maximum: Option) -> bool;