Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return code and exit handling to WAMR support #637

Merged
merged 4 commits into from
Apr 11, 2022
Merged

Conversation

Shillaker
Copy link
Collaborator

@Shillaker Shillaker commented Apr 11, 2022

Currently WAMR ignores the value passed to exit(), and all return code values. In Faasm we treat exit(1) and return 1 as errors, so the existing WAMR implementation will be letting through things we would otherwise call errors.

@Shillaker Shillaker self-assigned this Apr 11, 2022
@Shillaker Shillaker marked this pull request as ready for review April 11, 2022 12:45
@Shillaker Shillaker merged commit 5b7270e into main Apr 11, 2022
@Shillaker Shillaker deleted the wamr-return-codes branch April 11, 2022 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant