Skip to content

Allow SwiftCompilerMessages with no outputs #2854

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
Aug 10, 2020

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Aug 8, 2020

Swift frontend jobs are not required to have outputs. When they don’t, there is no “output” field in the driver’s JSON. SwiftPM previously assumed an “output” field must be present; this commit disabuses it of that notion.

(Necessary for swiftlang/swift#33114; previously, the Swift driver never happened to do this for the compiles SwiftPM requested.)

Swift frontend jobs are not required to have outputs. When they don’t, there is no “output” field in the driver’s JSON. SwiftPM previously assumed an “output” field must be present; this commit disabuses it of that notion.
@beccadax
Copy link
Contributor Author

beccadax commented Aug 8, 2020

@swift-ci please test

@MaxDesiatov
Copy link
Contributor

@swift-ci please smoke test

@beccadax beccadax merged commit 6b9f18e into swiftlang:master Aug 10, 2020
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