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

Port create-exe and the wasmer C API over to the webc compatibility layer #3944

Merged
merged 6 commits into from
Jun 2, 2023

Conversation

Michael-F-Bryan
Copy link
Contributor

@Michael-F-Bryan Michael-F-Bryan commented Jun 2, 2023

To future-proof the Wasmer project against new versions of webc being released, we need to make sure any code accepting a webc file as input goes through the webc::compat::Container type (our version-agnostic compatibility layer).

This PR updates wasmer create-exe and the C API to use the compatibility layer.

The wasmer-registry crate was also quite tightly coupled to the webc::v1 module, but that code was only ever used by the old wasmer run command (removed in #3924) so I've deleted it.

@Michael-F-Bryan Michael-F-Bryan changed the title Ported create-exe and the wasmer C API over to the webc compatibility layer Port create-exe and the wasmer C API over to the webc compatibility layer Jun 2, 2023
@Michael-F-Bryan Michael-F-Bryan marked this pull request as ready for review June 2, 2023 07:54
@Michael-F-Bryan Michael-F-Bryan enabled auto-merge June 2, 2023 08:13
@Michael-F-Bryan Michael-F-Bryan merged commit 5d8e11e into master Jun 2, 2023
@Michael-F-Bryan Michael-F-Bryan deleted the create-exe-webc-compat branch June 2, 2023 09:12
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.

3 participants