-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
wasiIssues and PRs related to the WebAssembly System Interface.Issues and PRs related to the WebAssembly System Interface.
Description
Is your feature request related to a problem? Please describe.
I have a WebAssembly file compiled from a simple C++ program. I would like to get the return value from main. I am calling the function via wasm.start()
Describe the solution you'd like
start() should return the value from _start() and/or __wasi_unstable_reactor_start.
Describe alternatives you've considered
The WASI object could also store the return value and make it available via a getter function, but I think the solution via the return value cleaner.
igrep
Metadata
Metadata
Assignees
Labels
wasiIssues and PRs related to the WebAssembly System Interface.Issues and PRs related to the WebAssembly System Interface.