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

Added the compatibility with the renamed target wasm32-wasip1 #2

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

ptagl
Copy link
Collaborator

@ptagl ptagl commented Jan 13, 2025

In January 2025 rustc started using the name wasm32-wasip1 as a replacement for wasm32-wasi.

The new implementation works like this:

  • it uses the new wasm32-wasip1 if available in the list of supported targets
  • if not, it tries to use the legacy wasm32-wasi if available
  • if none of them is available, it returns an error

For additional information see:

In January 2025 `rustc` started using the name `wasm32-wasip1` as replacement of `wasm32-wasi`.

For additional information see:
- https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-wasip1.html
- rust-lang/compiler-team#607
- rust-lang/compiler-team#695
@ptagl ptagl merged commit 3596a1d into main-telos Jan 13, 2025
@ptagl ptagl deleted the wasm32_wasip1_target branch January 13, 2025 11:14
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