Skip to content

[Dependency Scanning] Inherit target SDK name and version for textual interface build recipes #76465

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

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Sep 13, 2024

Otherwise they get built with an empty SDK name string and we do not get the benefit of the SDK name compatibility check in case they are loading modules from an incompatible SDK

Resolves rdar://135972810

… interface build recipes

Otherwise they get built with an empty SDK name string and we do not get the benefit of the SDK name compatibility check in case they are loading modules from an incompatible SDK

Resolves rdar://135972810
@artemcm artemcm requested a review from xymus September 13, 2024 23:11
@artemcm artemcm requested a review from tshortli as a code owner September 13, 2024 23:11
@artemcm
Copy link
Contributor Author

artemcm commented Sep 13, 2024

@swift-ci smoke test

Copy link
Contributor

@xymus xymus 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, that will be useful!

In what case do we need this treatment for the flags, when they affect dependency loading?

@artemcm
Copy link
Contributor Author

artemcm commented Sep 14, 2024

Thank you, that will be useful!

In what case do we need this treatment for the flags, when they affect dependency loading?

When we are actually executing the task to build a textual interface into a binary module, we need these flags when such tasks are considering whether an existing binary module candidate is considered up-to-date and valid to use so that we can create a forwarding module instead of doing the work to generate an "actual" binary module from the textual interface.

@artemcm artemcm merged commit 09b5431 into swiftlang:main Sep 14, 2024
3 checks passed
@artemcm artemcm deleted the InheritTargetSDKInfoOnExplicitSwiftDep branch September 14, 2024 14:47
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