Skip to content

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