mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Merge branch 'master' into feature/invoke-arg-parsing
This commit is contained in:
commit
92fcce2c21
@ -2,6 +2,7 @@
|
||||
|
||||
## **[Unreleased]**
|
||||
|
||||
- [#1054](https://github.com/wasmerio/wasmer/pull/1054) Improve `--invoke` output in Wasmer CLI
|
||||
- [#1053](https://github.com/wasmerio/wasmer/pull/1053) For RuntimeError and breakpoints, use Box<Any + Send> instead of Box<Any>.
|
||||
- [#1052](https://github.com/wasmerio/wasmer/pull/1052) Fix minor panic and improve Error handling in singlepass backend.
|
||||
- [#1050](https://github.com/wasmerio/wasmer/pull/1050) Attach C & C++ headers to releases.
|
||||
|
@ -491,7 +491,7 @@ fn execute_wasi(
|
||||
.map_err(|e| format!("Invoke failed: {:?}", e))?
|
||||
.call(&args)
|
||||
.map_err(|e| format!("Calling invoke fn failed: {:?}", e))?;
|
||||
println!("{} returned {:?}", invoke_fn, invoke_result);
|
||||
println!("{}({:?}) returned {:?}", invoke_fn, args, invoke_result);
|
||||
return Ok(());
|
||||
} else {
|
||||
result = start.call();
|
||||
@ -828,7 +828,7 @@ fn execute_wasm(options: &Run) -> Result<(), String> {
|
||||
.map_err(|e| format!("{:?}", e))?
|
||||
.call(&args)
|
||||
.map_err(|e| format!("{:?}", e))?;
|
||||
println!("main() returned: {:?}", result);
|
||||
println!("{}({:?}) returned {:?}", invoke_fn, args, result);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user