Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1054: Improve wasmer invoke function r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Prior to this PR, when executing wasmer, we will have this in the stdout: ```bash ➜ wasmer fib32.wasm --invoke fib 30 main() returned: [I32(832040)] ``` Note that it says `main()` returned even if the function called is `fib`. This PR fixes this and improves the messaging also for WASI invoked functions <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus Akbary <[email protected]>
- Loading branch information