Skip to content

WebAssembly platform requirements are not well documented #119811

Closed
@stephanemagnenat

Description

@stephanemagnenat

Location

README.md and WebAssembly book (https://rustwasm.github.io/docs/book/)

Summary

In version 1.70 Rust added some requirements for WebAssembly targets. This makes Wasm binaries compiled with Rust (at least with default options/out of the box std) incompatible with older runtime environments, in particular not-so-old iOS safari (https://webassembly.org/features/). Here is for example the support for Safari iOS 15.5 simulator:

safari-15_5-wasm-support

I searched but did not find any place where these requirements are written down. I think that this is a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.A-targetsArea: Concerning the implications of different compiler targetsO-wasmTarget: WASM (WebAssembly), http://webassembly.org/T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions