docs(guide): The target `wasm32-unknown-emscripten` is now supported
The guide documents a reference on rust targets that's not been modified for approx 8 years. Perhaps this section at the end should be updated, I'm not familiar enough with the project to know if the 2nd half of the referenced paragraph remains relevant/useful, this is just an issue to raise awareness of the two outdated rust targets cited.
Contributed Sep 2018:
The target
asmjs-unknown-emscriptenwas removed in Rust 1.76 (Feb 2024)Support for the target
wasm32-unknown-emscriptenlanded in this March 2026 PR (released in0.2.115).There has been various follow-ups since then to smooth out that support, and there are still issues like this one which may be necessary to document caveats if they're not easy to resolve.
At a glance there is also this .cargo/config.toml addition from the emscripten feature PR, which may have relevant context for users to adopt when building for the target? (I think the static relocation is to disable PIC?)
While on the topic of documentation, separately there appears to be a typo (elimainte => eliminate):
Source: wasm-bindgen/wasm-bindgen