From 5cee44604fcb1da82b5e3e20684b27b7f4d470f6 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Fri, 16 Jun 2023 18:23:36 +0800 Subject: [PATCH] MonitoringRuntime forgot to override the Runtime's default trait methods --- lib/cli/src/commands/run.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/cli/src/commands/run.rs b/lib/cli/src/commands/run.rs index f947b6d3da2..af460e2ee13 100644 --- a/lib/cli/src/commands/run.rs +++ b/lib/cli/src/commands/run.rs @@ -820,6 +820,22 @@ impl wasmer_wasix::Runtime for Monitorin progress: self.progress.clone(), }) } + + fn engine(&self) -> Option { + self.runtime.engine() + } + + fn new_store(&self) -> wasmer::Store { + self.runtime.new_store() + } + + fn http_client(&self) -> Option<&wasmer_wasix::http::DynHttpClient> { + self.runtime.http_client() + } + + fn tty(&self) -> Option<&(dyn wasmer_wasix::os::TtyBridge + Send + Sync)> { + self.runtime.tty() + } } #[derive(Debug)]