Skip to content

[Dependency Scanning] Restore passing external target map as inputs to the scanning action. #763

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
Jul 16, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Jul 15, 2021

I got overzealous when deleting code in #749 and removed one piece of functionality that we still rely on.
Although the external target map is no longer necessary when scanning dependencies using libSwiftScan, we still use it for resolution of canImport statements during the scan.
We need to figure out a better way to deal with canImport statements in the scanner, but in the meantime this will restore functionality.

…o the scanning action.

I got overzealous when deleting code in swiftlang#749 and removed one piece of functionality that we still rely on.
Although the external target map is no longer necessary when scanning dependencies using libSwiftScan, we still use it for resolution of `canImport` statements during the scan.
We need to figure out a better way to deal with that in the scanner, but in the meantime this will restore functionality.
@artemcm artemcm requested a review from nkcsgexi July 15, 2021 23:54
@artemcm
Copy link
Contributor Author

artemcm commented Jul 15, 2021

@swift-ci please test

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