rust/src/doc/rustc
Guillaume Gomez 440076db48
Rollup merge of #128511 - alexcrichton:doc-wasm-features, r=jieyouxu
Document WebAssembly target feature expectations

This commit is a result of the discussion on #128475 and incorporates parts of #109807 as well. This is all done as a new page of documentation for the `wasm32-unknown-unknown` target which previously did not exist. This new page goes into details about the preexisting target and additionally documents the expectations for WebAssembly features and code generation.

The tl;dr is that LLVM will enable features over time after most engines have had support for awhile. Compiling without features requires `-Ctarget-cpu=mvp` to rustc plus `-Zbuild-std` to Cargo.

Closes #109807
Closes #119811
Closes #128475
2024-08-23 12:32:14 +02:00
..
src Rollup merge of #128511 - alexcrichton:doc-wasm-features, r=jieyouxu 2024-08-23 12:32:14 +02:00
.gitignore initialize the rustc book 2018-04-09 14:04:10 -04:00
book.toml rustc book: make more pleasant to search 2023-08-16 06:33:31 +02:00