Skip to content

[5.10] Tests: Update stdlib/RuntimeObjC.swift to always link libswiftCoreGraphics #71100

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
Jan 25, 2024

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Jan 24, 2024

Cherry-pick of #71101.

The core definitions of CGPoint and other types were pushed down from CoreGraphics to CoreFoundation. This test indirectly depends on the conformance of those types to CustomReflectable, but nothing in the test was using those conformances explicitly and so libswiftCoreGraphics would not be auto-linked when the test is compiled at a high enough deployment target. Use the conformances directly to force linkage.

Resolves rdar://121343931

…phics.

The core definitions of CGPoint and other types were pushed down from
CoreGraphics to CoreFoundation. This test indirectly depends on the conformance
of those types to CustomReflectable, but nothing in the test was using those
conformances explicitly and so libswiftCoreGraphics would not be auto-linked
when the test is compiled at a high enough deployment target. Use the
conformances directly to force linkage.

Resolves rdar://121343931
@tshortli tshortli requested a review from a team as a code owner January 24, 2024 00:54
@tshortli tshortli added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.10 labels Jan 24, 2024
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli changed the title Tests: Update stdlib/RuntimeObjC.swift to always link libswiftCoreGraphics [5.10] Tests: Update stdlib/RuntimeObjC.swift to always link libswiftCoreGraphics Jan 24, 2024
@tshortli tshortli merged commit 6fd9817 into swiftlang:release/5.10 Jan 25, 2024
@tshortli tshortli deleted the runtime-objc-test-5.10 branch January 25, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants