Hoisted shared state into its own struct

This commit is contained in:
Michael-F-Bryan
2023-03-01 22:34:51 +08:00
parent bd324f9fc0
commit 3af48f7028
4 changed files with 42 additions and 24 deletions

View File

@@ -227,7 +227,6 @@ impl RunWithPathBuf {
fn inner_execute(&self) -> Result<()> {
#[cfg(feature = "webc_runner")]
{
dbg!(&self.path);
if let Ok(pf) = WapmContainer::from_path(self.path.clone()) {
return self.run_container(pf, self.command_name.as_deref(), &self.args);
}