Skip to content
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

Don't Use WasmGC Instructions Just Yet #990

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

CryZe
Copy link
Collaborator

@CryZe CryZe commented Nov 6, 2024

At some point we had to switch away from wasm-opt automatically detecting the WebAssembly features, because they deprecated and turned that into a no-op. Since then we specified that it should just use all the features. This used to work all the time, but with the introduction of reference types it now started optimizing some of those instructions into instructions that are only available with the WasmGC proposal. This slipped through because Chrome and Firefox already support WasmGC but Safari does not... yet, because they also will start to support it very soon. In the meantime and also to ensure wasm-opt isn't ever going to sneak in any unwanted features, we now explicitly specify all the features that we want to use.

At some point we had to switch away from `wasm-opt` automatically
detecting the WebAssembly features, because they deprecated and turned
that into a no-op. Since then we specified that it should just use all
the features. This used to work all the time, but with the introduction
of reference types it now started optimizing some of those instructions
into instructions that are only available with the `WasmGC` proposal.
This slipped through because Chrome and Firefox already support `WasmGC`
but Safari does not... yet, because they also will start to support it
very soon. In the meantime and also to ensure `wasm-opt` isn't ever
going to sneak in any unwanted features, we now explicitly specify all
the features that we want to use.
@CryZe CryZe added bug There's a bug in LiveSplit One. iOS An issue that affects iOS. high priority This is a high priority issue. WebKit An issue that affects the WebKit engine (used by Safari and Tauri on Linux) labels Nov 6, 2024
@CryZe CryZe enabled auto-merge (squash) November 6, 2024 16:09
@CryZe CryZe merged commit ee62d69 into LiveSplit:master Nov 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There's a bug in LiveSplit One. high priority This is a high priority issue. iOS An issue that affects iOS. WebKit An issue that affects the WebKit engine (used by Safari and Tauri on Linux)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant