Skip to content

[6.1] SwiftShims: memcmp should accept optional pointers on Darwin #78099

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
Dec 12, 2024

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Dec 10, 2024

The Darwin module defines memcmp with optional pointers. Update SwiftShims to define it to the same type to avoid deserialization failures where we get one over the other and the types don't match anymore.

Darwin defines memcmp with optional pointers. Update SwiftShims to
define it to the same type to avoid deserialization failures where we
get one over the other and the types don't match anymore.

rdar://140596571
@xymus xymus requested a review from a team as a code owner December 10, 2024 23:53
@xymus
Copy link
Contributor Author

xymus commented Dec 10, 2024

@swift-ci please test

@xymus xymus requested a review from nkcsgexi December 10, 2024 23:54
Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@xymus
Copy link
Contributor Author

xymus commented Dec 11, 2024

@swift-ci Please test Linux

@xymus xymus merged commit 90c6854 into swiftlang:release/6.1 Dec 12, 2024
5 checks passed
@xymus xymus deleted the optional-memcmp-6.1 branch December 12, 2024 18:36
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.

3 participants