rust/compiler/rustc_session/src
Alex Crichton e003a12ad5 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]: https://github.com/rust-lang/rust/pull/120468#issuecomment-1977878747
2024-06-18 21:05:56 -07:00
..
config Add rustfmt cfg to well known cfgs list 2024-05-05 14:30:35 +02:00
code_stats.rs -Zprint-type-sizes: print the types of awaitees and unnamed coroutine locals. 2024-03-22 18:07:15 -07:00
config.rs Unconditionally warn on usage of wasm32-wasi 2024-06-18 21:05:56 -07:00
cstore.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
errors.rs Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
filesearch.rs Improve naming and path operations in crate loader 2024-06-06 21:53:29 +02:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
options.rs coverage: Add debugging flag -Zcoverage-options=no-mir-spans 2024-06-17 21:16:15 +10:00
output.rs Make incremental sessions identity no longer depend on the crate names provided by source code 2024-03-13 16:40:02 +01:00
parse.rs Remove redundant argument from subdiagnostic method 2024-06-18 15:42:11 +00:00
search_paths.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
session.rs Auto merge of #126623 - oli-obk:do_not_count_errors, r=davidtwco 2024-06-18 16:49:19 +00:00
utils.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
version.rs Implement IntoDiagArg for RustcVersion 2024-05-21 20:11:42 +00:00