From 9e6e02506d7daf944ca270183de60750ee8a4be6 Mon Sep 17 00:00:00 2001 From: Robin Freyler Date: Wed, 29 Nov 2023 14:38:02 +0100 Subject: [PATCH] fix bug for older rust toolchain (bench CI) --- crates/wasmi/src/engine/regmach/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasmi/src/engine/regmach/mod.rs b/crates/wasmi/src/engine/regmach/mod.rs index 43ea5c3a12..6e435ef606 100644 --- a/crates/wasmi/src/engine/regmach/mod.rs +++ b/crates/wasmi/src/engine/regmach/mod.rs @@ -64,7 +64,7 @@ impl EngineInner { /// # Errors /// /// If the Wasm execution traps or runs out of resources. - pub fn execute_func_resumable_regmach( + pub(crate) fn execute_func_resumable_regmach( &self, mut ctx: StoreContextMut, func: &Func, @@ -114,7 +114,7 @@ impl EngineInner { /// # Errors /// /// If the Wasm execution traps or runs out of resources. - pub fn resume_func_regmach( + pub(crate) fn resume_func_regmach( &self, ctx: StoreContextMut, mut invocation: ResumableInvocation,