Skip to content

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