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

Initial work towards getting post-return functions #310

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

alexcrichton
Copy link
Member

This adds a few new pseudo-instructions plus a new method on Interface to generate a post-return function. For now these are simply named {name}_post_return and the integration point there will probably change as the component model shapes up.

The integration here is intended to still be relatively primitive in that the actual component model integration will likely look different in the future. Given how wit-bindgen works today, though, this should at least get things part of the way there.

This adds a few new pseudo-instructions plus a new method on `Interface`
to generate a `post-return` function. For now these are simply named
`{name}_post_return` and the integration point there will probably
change as the component model shapes up.

The integration here is intended to still be relatively primitive in
that the actual component model integration will likely look different
in the future. Given how `wit-bindgen` works today, though, this should
at least get things part of the way there.
@alexcrichton alexcrichton merged commit b781a7b into bytecodealliance:main Sep 22, 2022
@alexcrichton alexcrichton deleted the post-return branch September 22, 2022 15:55
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.

2 participants