about summary refs log tree commit diff
path: root/config.example.toml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2024-01-29 08:19:42 -0800
committerAlex Crichton <alex@alexcrichton.com>2024-03-02 09:03:51 -0800
commitcb39d6c5159b516a1bf3652a62527a7a69037676 (patch)
treefbc57a4c67a8b022437e735f477a3a4cd79577d2 /config.example.toml
parent5257aee7dd163d21d32fa904578d4fb0f4c91b79 (diff)
downloadrust-cb39d6c5159b516a1bf3652a62527a7a69037676.tar.gz
rust-cb39d6c5159b516a1bf3652a62527a7a69037676.zip
Add a new `wasm32-wasip1` target to rustc
This commit adds a new target called `wasm32-wasip1` to rustc.
This new target is explained in these two MCPs:

* https://github.com/rust-lang/compiler-team/issues/607
* https://github.com/rust-lang/compiler-team/issues/695

In short, the previous `wasm32-wasi` target is going to be renamed to
`wasm32-wasip1` to better live alongside the [new
`wasm32-wasip2` target](https://github.com/rust-lang/rust/pull/119616).
This new target is added alongside the `wasm32-wasi` target and has the
exact same definition as the previous target. This PR is effectively a
rename of `wasm32-wasi` to `wasm32-wasip1`. Note, however, that
as explained in rust-lang/compiler-team#695 the previous `wasm32-wasi`
target 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.
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.example.toml b/config.example.toml
index cef33a7905a..d12ed052fe4 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -820,9 +820,9 @@
 # The full path to the musl libdir.
 #musl-libdir = musl-root/lib
 
-# The root location of the `wasm32-wasi` sysroot. Only used for the
-# `wasm32-wasi` target. If you are building wasm32-wasi target, make sure to
-# create a `[target.wasm32-wasi]` section and move this field there.
+# The root location of the `wasm32-wasip1` sysroot. Only used for WASI
+# related targets. Make sure to create a `[target.wasm32-wasip1]`
+# section and move this field there (or equivalent for the target being built).
 #wasi-root = <none> (path)
 
 # Used in testing for configuring where the QEMU images are located, you