-
-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potentially using wasmv1-none #18412
Comments
To copy some things over from Discord: The benefits:
Concerns from @adrian17, for which the answers seem to all be no:
The major issue:
Some statements from @moulins:
Reply from @adrian17:
|
According to moulins:
|
Note that on Discord, it was determined that:
A future option is to develop a policy of only supporting browsers with the same WebAssembly extension feature set as LLVM. The LLVM project enabled reference-types by default in llvm/llvm-project#93261. Then, in https://github.com/emscripten-core/emscripten/blob/aa3a8a46e2e6365f869b9129f3ce33ac53515679/ChangeLog.md#3162---070224, emscripten followed suit, and according to https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md#enabled-webassembly-features, the At this time, this would remove our support for Safari 14 definitively. It shouldn't remove our support of Safari 15 theoretically, but in practice Safari 15's reference types implementation seems incomplete (see #18386). However, it's possible LLVM enables other WebAssembly extensions in the future that push our minimum supported browser versions higher. Currently, Pale Moon doesn't support the reference type extensions either. That may change if https://repo.palemoon.org/MoonchildProductions/UXP/issues/2647 is ever resolved. That will take some work since according to MoonChild "If we want this, we probably need to closely inspect the relevant BZ implementations and specifically only adopt the reftypes parts and not any of the GC structs or templates." It's possible that falls down the priority list. |
Issue opened to discuss the possibility of using the wasmv1-none target in 1.84, as raised by rust-lang/rust#131487 (comment)
The text was updated successfully, but these errors were encountered: