From dc216364bee4dcb897a69c6596aebc1d01179d73 Mon Sep 17 00:00:00 2001 From: losfair Date: Tue, 21 Jan 2020 02:07:32 +0800 Subject: [PATCH] Fix backend string type. --- src/bin/wasmer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/wasmer.rs b/src/bin/wasmer.rs index a84f3d8f7b6..9d37e033832 100644 --- a/src/bin/wasmer.rs +++ b/src/bin/wasmer.rs @@ -868,7 +868,7 @@ fn execute_wasm(options: &Run) -> Result<(), String> { baseline: true, msm: msm, base: instance.module.runnable_module.get_code().unwrap().as_ptr() as usize, - backend: options.backend.to_string().to_owned(), + backend: options.backend.to_string(), runnable_module: instance.module.runnable_module.clone(), }); true