Skip to content

Commit

Permalink
Improve warning message when invoking WASI functions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMcCaskey authored Dec 6, 2019
1 parent 356720e commit d2f5690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/wasmer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ fn execute_wasi(
};

if let Some(invoke_fn) = options.invoke.as_ref() {
eprintln!("WARNING: Invoking a function with WASI is not officially supported in the WASI standard yet. Use this feature at your own risk, things may not work!");
eprintln!("WARNING: Invoking aribtrary functions with WASI is not officially supported in the WASI standard yet. Use this feature at your own risk!");
let args = options.parse_args()?;
let invoke_result = instance
.dyn_func(invoke_fn)
Expand Down

0 comments on commit d2f5690

Please sign in to comment.