Skip to content

Commit

Permalink
Update docs for default features of wasm targets
Browse files Browse the repository at this point in the history
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 rust-lang#137315
  • Loading branch information
alexcrichton committed Feb 20, 2025
1 parent 28b83ee commit c2aed39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2aed39

Please sign in to comment.