From 053fb3433e9e17ae9d6248291f13ba189be7de72 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 25 Sep 2019 22:12:12 -0700 Subject: [PATCH] Fix compilation error. --- src/bin/wasmtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/wasmtime.rs b/src/bin/wasmtime.rs index 1801a335c8..e16724e9bb 100644 --- a/src/bin/wasmtime.rs +++ b/src/bin/wasmtime.rs @@ -314,7 +314,7 @@ fn rmain() -> Result<(), Error> { module_registry.insert( "wasi_unstable".to_owned(), - Instance::from_handle(store.clone(), wasi)?, + Instance::from_handle(store.clone(), wasi.clone())?, ); module_registry.insert( "wasi_unstable_preview0".to_owned(),