Skip to content

Conversation

@davidungar
Copy link
Contributor

This one only subverts the frontend target check if the new frontend path is a Python script. That way, the option still should work with swiftpm. Don't merge until the swiftpm unit tests pass with this.

@davidungar davidungar requested a review from artemcm December 10, 2020 07:08
@davidungar
Copy link
Contributor Author

@artemcm What do you think about this approach? @DougGregor Do you want to weigh in? Is there a better alternative?

swiftCompilerPrefixArgs = []
}
var hasFrontendBeenRedirectedForTesting: Bool {
return !swiftCompilerPrefixArgs.isEmpty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this to be quite confusing and the new approach is much more concrete so I think it is an improvement.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @artem. Glad you think it's better.

@davidungar
Copy link
Contributor Author

@swift-ci please test

@davidungar davidungar merged commit 3ebafec into swiftlang:main Dec 10, 2020
@davidungar davidungar deleted the driver-use-frontend-path branch January 29, 2021 17:33
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