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

Migrate from cargo component to the new wasm32-wasip2 target. #19

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunfishcode
Copy link
Owner

Now that wasm32-wasip2 target has reached Tier 2 support in Rust, this is a patch switching the hello-wasi-http demo from using cargo-component to using the new wasm32-wasip2 target.

This removes a lot of boilerplate, which is nice. However, cargo-component has some support for managing dependencies, which is useful if users want to add non-WASI WIT files, which the core cargo tooling doesn't. So I'm just posting this as a draft for now.

Now that wasm32-wasip2 target has [reached Tier 2 support in Rust], this
is a patch switching the hello-wasi-http demo from using cargo-component
to using the new wasm32-wasip2 target.

[reached Tier 2 support in Rust]: https://blog.rust-lang.org/2024/11/26/wasip2-tier-2.html
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.

1 participant