Skip to content

[6.2 🍒][Explicit Module Builds] Adopt new direct-import field for Swift source modules #1886

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
May 2, 2025

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 29, 2025

Cherry-pick of #1877

Explanation:Adopts new Swift dependency scanner API to query only directly-imported module dependencies for the module being scanned. This API, for the main source module, provides info on which dependencies are directly imported into the user program, explicitly ('import' statement) or implicitly (e.g. stdlib). This list does not include Swift overlay dependencies, cross-import dependencies, bridging header dependencies.
Scope: Does not affect existing clients, provides a new API.
Risk: Low, this is a purely additive API change which should not affect existing clients.
Testing: Added a test to the driver test suite.
Issue: rdar://146697570

@artemcm
Copy link
Contributor Author

artemcm commented Apr 29, 2025

@swift-ci test

…ce modules

Adopts new Swift dependency scanner API to query only directly-imported module dependencies for the module being scanned
@artemcm artemcm force-pushed the AddSourceOnlyImportDeps_62 branch from 0213b51 to d062343 Compare May 1, 2025 20:07
@artemcm
Copy link
Contributor Author

artemcm commented May 1, 2025

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented May 1, 2025

@swift-ci test Windows platform

2 similar comments
@artemcm
Copy link
Contributor Author

artemcm commented May 1, 2025

@swift-ci test Windows platform

@artemcm
Copy link
Contributor Author

artemcm commented May 1, 2025

@swift-ci test Windows platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants