Add a new wasm32-wasip1 target to rustc by alexcrichton · Pull Request #120468 · rust-lang/rust (original) (raw)

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

alexcrichton

@rustbot rustbot added A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

T-infra

Relevant to the infrastructure team, which will review and decide on the PR/issue.

labels

Jan 29, 2024

alexcrichton

programmerjake

programmerjake

wesleywiser

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jan 30, 2024

This was referenced

Mar 5, 2024

@rustbot rustbot added the relnotes

Marks issues that should be documented in the release notes of the next release.

label

Mar 5, 2024

wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request

May 4, 2024

@he32

Pkgsrc changes:

Upstream chnages:

Version 1.78.0 (2024-05-02)

Language

Compiler

Target changes:

Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Misc

Compatibility Notes

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request

Jun 19, 2024

@alexcrichton

This commit is a continuation of the work originally proposed in rust-lang/compiler-team#607 and later amended in rust-lang/compiler-team#695. The end goal is to rename wasm32-wasi to wasm32-wasip1 to reflect WASI's development and distinguish the preexisting target from the wasm32-wasip2 target that WASI is now developing. Work for this transition began in rust-lang#120468 which landed in Rust 1.78 which became stable on 2024-05-02.

This implements the next phase of the transition plan to warn on usage of wasm32-wasi. This is intended to help alert users that a removal is pending and all release channels have the replacement available as well. This will reach stable on 2024-09-05. The next stage of the plan is to remove the wasm32-wasi target some time in October 2024 which means that the removal will reach stable on 2025-01-09. For reference a full schedule of this transition is listed [here].

Currently this implementation is a simple unconditional warning whenever rustc --target wasm32-wasi is invoked. As-implemented there's no way to turn off the warning other than to switch to the wasm32-wasip1 target.

[here]: rust-lang#120468 (comment)

fmease added a commit to fmease/rust that referenced this pull request

Jun 19, 2024

@fmease

…r=michaelwoerister

Unconditionally warn on usage of wasm32-wasi

This commit is a continuation of the work originally proposed in rust-lang/compiler-team#607 and later amended in rust-lang/compiler-team#695. The end goal is to rename wasm32-wasi to wasm32-wasip1 to reflect WASI's development and distinguish the preexisting target from the wasm32-wasip2 target that WASI is now developing. Work for this transition began in rust-lang#120468 which landed in Rust 1.78 which became stable on 2024-05-02.

This implements the next phase of the transition plan to warn on usage of wasm32-wasi. This is intended to help alert users that a removal is pending and all release channels have the replacement available as well. This will reach stable on 2024-09-05. The next stage of the plan is to remove the wasm32-wasi target some time in October 2024 which means that the removal will reach stable on 2025-01-09. For reference a full schedule of this transition is listed [here].

Currently this implementation is a simple unconditional warning whenever rustc --target wasm32-wasi is invoked. As-implemented there's no way to turn off the warning other than to switch to the wasm32-wasip1 target.

[here]: rust-lang#120468 (comment)

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jun 19, 2024

@rust-timer

Rollup merge of rust-lang#126662 - alexcrichton:warn-on-wasm32-wasi, r=michaelwoerister

Unconditionally warn on usage of wasm32-wasi

This commit is a continuation of the work originally proposed in rust-lang/compiler-team#607 and later amended in rust-lang/compiler-team#695. The end goal is to rename wasm32-wasi to wasm32-wasip1 to reflect WASI's development and distinguish the preexisting target from the wasm32-wasip2 target that WASI is now developing. Work for this transition began in rust-lang#120468 which landed in Rust 1.78 which became stable on 2024-05-02.

This implements the next phase of the transition plan to warn on usage of wasm32-wasi. This is intended to help alert users that a removal is pending and all release channels have the replacement available as well. This will reach stable on 2024-09-05. The next stage of the plan is to remove the wasm32-wasi target some time in October 2024 which means that the removal will reach stable on 2025-01-09. For reference a full schedule of this transition is listed [here].

Currently this implementation is a simple unconditional warning whenever rustc --target wasm32-wasi is invoked. As-implemented there's no way to turn off the warning other than to switch to the wasm32-wasip1 target.

[here]: rust-lang#120468 (comment)

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Jun 21, 2024

@fmease

…woerister

Unconditionally warn on usage of wasm32-wasi

This commit is a continuation of the work originally proposed in rust-lang/compiler-team#607 and later amended in rust-lang/compiler-team#695. The end goal is to rename wasm32-wasi to wasm32-wasip1 to reflect WASI's development and distinguish the preexisting target from the wasm32-wasip2 target that WASI is now developing. Work for this transition began in #120468 which landed in Rust 1.78 which became stable on 2024-05-02.

This implements the next phase of the transition plan to warn on usage of wasm32-wasi. This is intended to help alert users that a removal is pending and all release channels have the replacement available as well. This will reach stable on 2024-09-05. The next stage of the plan is to remove the wasm32-wasi target some time in October 2024 which means that the removal will reach stable on 2025-01-09. For reference a full schedule of this transition is listed [here].

Currently this implementation is a simple unconditional warning whenever rustc --target wasm32-wasi is invoked. As-implemented there's no way to turn off the warning other than to switch to the wasm32-wasip1 target.

[here]: rust-lang/rust#120468 (comment)

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request

Oct 13, 2024

@he32

This is based on the pkgsrc-wip rust180 package, retaining the main pkgsrc changes as best as I could.

Pkgsrc changes:

Upstream chnages:

Version 1.80.1 (2024-08-08)

Version 1.80.0 (2024-07-25)

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Rustdoc

Compatibility Notes

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

Version 1.79.0 (2024-06-13)

Language

Compiler

Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Rustdoc

Misc

Compatibility Notes

Version 1.78.0 (2024-05-02)

Language

Compiler

Target changes:

Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

These APIs are now stable in const contexts:

Cargo

Misc

Compatibility Notes

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

Version 1.77.0 (2024-03-21)

Compiler

Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.

Libraries

Stabilized APIs

Cargo

Rustdoc

Misc

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request

Nov 3, 2024

@alexcrichton

This commit is the final step in the journey of renaming the historical wasm32-wasi target in the Rust compiler to wasm32-wasip1. Various steps in this journey so far have been:

The full transition schedule is in [this comment][comment] and is summarized with:

This means that support on stable for the replacement target of wasm32-wasip1 has currently been available for 6 months. Users have already seen warnings on stable for 2 months about usage of wasm32-wasi and stable users have another 2 months of warnings before the target is removed from stable.

This commit is intended to be the final step in this transition so the source tree should no longer mention wasm32-wasi except in historical reference to the older name of the wasm32-wasip1 target.

[comment]: rust-lang#120468 (comment)

This was referenced

Nov 3, 2024

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 5, 2024

@matthiaskrgr

…=jieyouxu

Remove the wasm32-wasi target from rustc

This commit is the final step in the journey of renaming the historical wasm32-wasi target in the Rust compiler to wasm32-wasip1. Various steps in this journey so far have been:

The full transition schedule is in [this comment][comment] and is summarized with:

This means that support on stable for the replacement target of wasm32-wasip1 has currently been available for 6 months. Users have already seen warnings on stable for 2 months about usage of wasm32-wasi and stable users have another 2 months of warnings before the target is removed from stable.

This commit is intended to be the final step in this transition so the source tree should no longer mention wasm32-wasi except in historical reference to the older name of the wasm32-wasip1 target.

[comment]: rust-lang#120468 (comment)

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Nov 6, 2024

@rust-timer

Rollup merge of rust-lang#132562 - alexcrichton:remove-wasm32-wasi, r=jieyouxu

Remove the wasm32-wasi target from rustc

This commit is the final step in the journey of renaming the historical wasm32-wasi target in the Rust compiler to wasm32-wasip1. Various steps in this journey so far have been:

The full transition schedule is in [this comment][comment] and is summarized with:

This means that support on stable for the replacement target of wasm32-wasip1 has currently been available for 6 months. Users have already seen warnings on stable for 2 months about usage of wasm32-wasi and stable users have another 2 months of warnings before the target is removed from stable.

This commit is intended to be the final step in this transition so the source tree should no longer mention wasm32-wasi except in historical reference to the older name of the wasm32-wasip1 target.

[comment]: rust-lang#120468 (comment)

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request

Jan 22, 2025

@tmeijn

This MR contains the following updates:

Package Update Change
rust minor 1.83.0 -> 1.84.0

MR created with the help of el-capitano/tools/renovate-bot.

Proposed changes to behavior should be submitted there as MRs.


Release Notes

rust-lang/rust (rust)

v1.84.0

Compare Source

==========================

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts

Cargo

Rustdoc

Compatibility Notes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.



This MR has been generated by Renovate Bot.

wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request

Feb 2, 2025

@he32

Pkgsrc changes:

Upstream changes:

Version 1.84.1 (2025-01-30)

Version 1.84.0 (2025-01-09)

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts

Cargo

Rustdoc

Compatibility Notes

@pheki pheki mentioned this pull request

Feb 28, 2025