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

Fix regression on gen_import_call_trampoline_arm64() #2948

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

epilys
Copy link
Contributor

@epilys epilys commented Jun 13, 2022

Fix clippy lints #2942 changed the gen_import_call_trampoline_arm64() code because clippy emitted a lint about the loop logic. However, the fix was wrong and was causing incorrect binary generation on arm64.

More precisely, this was caught by test serialize::test_deserialize::singlepass::* on macos M1 (arm64)

This regression was not caught because tests are not run on ARM64 on Github Actions CI runners.

@epilys epilys added the bug Something isn't working label Jun 13, 2022
@epilys epilys added this to the v3.0 milestone Jun 13, 2022
@epilys epilys requested a review from ptitSeb June 13, 2022 11:23
@epilys epilys requested a review from syrusakbary as a code owner June 13, 2022 11:23
@epilys epilys self-assigned this Jun 13, 2022
Fix clippy lints #2942 changed the `gen_import_call_trampoline_arm64()`
code because clippy emitted a lint about the loop logic. However, the
fix was wrong and was causing incorrect binary generation on arm64.

More specifically, this was caught by test
`serialize::test_deserialize::singlepass::*` on macos M1 (arm64)
@epilys epilys force-pushed the fix-clippy-arm64-singlepass branch from 15ff6b9 to 485dde5 Compare June 13, 2022 11:44
@epilys epilys requested a review from ptitSeb June 13, 2022 11:45
@epilys
Copy link
Contributor Author

epilys commented Jun 13, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 13, 2022

Build succeeded:

@bors bors bot merged commit b0d3818 into master Jun 13, 2022
@bors bors bot deleted the fix-clippy-arm64-singlepass branch June 13, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants