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

Use webc's compat layer in more places #3777

Merged
merged 10 commits into from
Apr 20, 2023
Merged

Conversation

Michael-F-Bryan
Copy link
Contributor

This PR moves the wasmer_wasix::wapm module over to the webc crate's compatibility layer so we are decoupled from the version of WEBC a particular file uses.

@Michael-F-Bryan Michael-F-Bryan marked this pull request as ready for review April 18, 2023 17:50
lib/wasi/src/state/env.rs Outdated Show resolved Hide resolved
lib/wasi/src/state/env.rs Outdated Show resolved Hide resolved
lib/wasi/src/wapm/mod.rs Show resolved Hide resolved
lib/wasi/src/state/env.rs Outdated Show resolved Hide resolved
lib/wasi/src/wapm/mod.rs Show resolved Hide resolved
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@theduke theduke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: we could store Arc<BinaryPackage> references on WasiEnv to improve the ownership safety. (with the module cache handing out Arc<BinaryPackage> instead of cloning.

But that can happen inn future work.

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.

4 participants