From 5a5f241f984ef82bda282aebee9e9277881fd3af Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 8 Nov 2019 17:41:05 -0600 Subject: [PATCH] Fix typo in warning message for `--invoke` (#530) This was supposed to be `--invoke`, not `--render` --- src/bin/wasmtime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/wasmtime.rs b/src/bin/wasmtime.rs index 91e6342525..e5f47873d4 100644 --- a/src/bin/wasmtime.rs +++ b/src/bin/wasmtime.rs @@ -397,7 +397,7 @@ fn invoke_export( let binding = data.binding_for_export(&mut handle, name)?; if binding.param_types()?.len() > 0 { eprintln!( - "warning: using `--render` with a function that takes arguments \ + "warning: using `--invoke` with a function that takes arguments \ is experimental and may break in the future" ); } @@ -436,7 +436,7 @@ fn invoke_export( .with_context(|| format!("failed to invoke `{}`", name))?; if results.len() > 0 { eprintln!( - "warning: using `--render` with a function that returns values \ + "warning: using `--invoke` with a function that returns values \ is experimental and may break in the future" ); }