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

Enable Multivalue again #984

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Enable Multivalue again #984

merged 2 commits into from
Oct 22, 2024

Conversation

CryZe
Copy link
Collaborator

@CryZe CryZe commented Oct 22, 2024

With LLVM 19 they explicitly require using the experimental-mv ABI in addition to the multivalue LLVM feature (the latter is enabled by default now). Enabling the ABI is non-trivial and requires a full on custom Rust target. This adds wasm32-multivalue.json which is identical to wasm32-unknown-unknown except it sets the experimental-mv ABI. The target JSON format is very experimental by itself, so we may need to keep this up to date from time to time.

With LLVM 19 they explicitly require using the `experimental-mv` ABI in
addition to the `multivalue` LLVM feature (the latter is enabled by
default now). Enabling the ABI is non-trivial and requires a full on
custom Rust target. This adds `wasm32-multivalue.json` which is
identical to `wasm32-unknown-unknown` except it sets the
`experimental-mv` ABI. The target JSON format is very experimental by
itself, so we may need to keep this up to date from time to time.
@CryZe CryZe added enhancement A new feature or general improvement to LiveSplit One. performance Performance is suboptimal and should be improved. labels Oct 22, 2024
@CryZe CryZe merged commit ca5f527 into LiveSplit:master Oct 22, 2024
4 checks passed
@CryZe CryZe deleted the multivalue-abi branch October 22, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or general improvement to LiveSplit One. performance Performance is suboptimal and should be improved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant