Skip to content

Fix ReorderCustomSectionMutator in wasm-mutate #2135

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

alexcrichton
Copy link
Member

This commit fixes an issue with the reordering sections helper which used <[_]>::swap which isn't appropriate in this context because that reorders the destination section instead of just moving the section in question, possibly producing an invalid module.

This commit fixes an issue with the reordering sections helper which
used `<[_]>::swap` which isn't appropriate in this context because that
reorders the destination section instead of just moving the section in
question, possibly producing an invalid module.
@fitzgen fitzgen added this pull request to the merge queue Apr 10, 2025
Merged via the queue into bytecodealliance:main with commit f10020e Apr 10, 2025
32 checks passed
@alexcrichton alexcrichton deleted the fix-wam-mutate-mutator branch April 15, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants