Add a new wasm32-wasip1 target to rustc#120468
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a new target called
wasm32-wasip1to rustc. This new target is explained in these two MCPs:wasm32-wasitarget towasm32-wasi-preview1compiler-team#607wasm32-wasicompiler-team#695In short, the previous
wasm32-wasitarget is going to be renamed towasm32-wasip1to better live alongside the newwasm32-wasip2target. This new target is added alongside thewasm32-wasitarget and has the exact same definition as the previous target. This PR is effectively a rename ofwasm32-wasitowasm32-wasip1. Note, however, that as explained in rust-lang/compiler-team#695 the previouswasm32-wasitarget is not being removed at this time. This change will reach stable Rust before even a warning about the rename will be printed. At this time this change is just the start where a new target is introduced and users can start migrating if they support only Nightly for example.