about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2024-08-01 14:36:55 -0700
committerAlex Crichton <alex@alexcrichton.com>2024-08-01 14:36:55 -0700
commitb6f65a4b224ec74918ecc5e02527c72e75a18f89 (patch)
treea965b8e5d5a3517f3e51dc5b8a074910b1d46a70
parentce7f1b77f400bbf42e2ca9628dec087c1a2605c5 (diff)
downloadrust-b6f65a4b224ec74918ecc5e02527c72e75a18f89.tar.gz
rust-b6f65a4b224ec74918ecc5e02527c72e75a18f89.zip
Document on-by-default features
-rw-r--r--src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md8
1 files changed, 8 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 a4b547bd1ff..5de80fea6bf 100644
--- a/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
+++ b/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
@@ -123,6 +123,14 @@ months or engines that are required to enable features by default.
 
 [proposals]: https://github.com/WebAssembly/proposals
 
+As of the time of this writing the proposals that are enabled by default (the
+`generic` CPU in LLVM terminology) are:
+
+* `multivalue`
+* `mutable-globals`
+* `reference-types`
+* `sign-ext`
+
 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
 compile time. Note, though, that enabled features may be used in the standard