about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2025-02-20 08:15:07 -0800
committerAlex Crichton <alex@alexcrichton.com>2025-02-20 08:18:22 -0800
commitc2aed39ea7285d86d4a9c1b02e221bddc1d9a45f (patch)
treefb26014548ce688a2142bfff9f617b6e25c9bb2f
parent28b83ee59698ae069f5355b8e03f976406f410f5 (diff)
downloadrust-c2aed39ea7285d86d4a9c1b02e221bddc1d9a45f.tar.gz
rust-c2aed39ea7285d86d4a9c1b02e221bddc1d9a45f.zip
Update docs for default features of wasm targets
LLVM 20 enabled the `nontrapping-fptoint` and `bulk-memory` features by
default, so this updates the corresponding documentation for the
`wasm32-*` targets (which all point to `wasm32-unknown-unknown`).

cc #137315
-rw-r--r--src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md b/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
index 73264aba858..ba95ab7af6d 100644
--- a/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
+++ b/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
@@ -129,6 +129,8 @@ As of the time of this writing the proposals that are enabled by default (the
 * `mutable-globals`
 * `reference-types`
 * `sign-ext`
+* `nontrapping-fptoint` (Rust 1.87.0+, LLVM 20+)
+* `bulk-memory` (Rust 1.87.0+, LLVM 20+)
 
 If you're compiling WebAssembly code for an engine that does not support a
 feature in LLVM's default feature set then the feature must be disabled at