Skip to content

[Explicit Module Builds] Add support for versioned 'canImport' to the explicit module loader #62539

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 13, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Dec 12, 2022

When canImport query requires a moduel version, open the binary '.swiftmodule' and read out the relevant metadata.

Resolves rdar://103265511

… explicit module loader

When `canImport` query requires a moduel version, open the binary '.swiftmodule' and read out the relevant metadata.

Resolves rdar://103265511
@artemcm artemcm requested a review from nkcsgexi December 12, 2022 22:44
@artemcm
Copy link
Contributor Author

artemcm commented Dec 12, 2022

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Dec 13, 2022

@swift-ci test Linux platform

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!

@nkcsgexi nkcsgexi merged commit e5d2475 into swiftlang:main Dec 13, 2022
@artemcm artemcm deleted the ExplicitVersionedCanImport branch December 13, 2022 16:25
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.

2 participants