Swift: improve diagnostics for OS incompatibility#18289
Merged
Conversation
* do not mention any more that one might make analysis happen on Linux with advanced setup * say that outright Swift analysis is only supported on macOS, not just autobuild. * emit the error diagnostics even for traced builds, not only for autobuilds (by using a dummy `extractor` executable).
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (9)
- swift/BUILD.bazel: Language not supported
- swift/extractor/BUILD.bazel: Language not supported
- swift/extractor/incompatible-extractor.sh: Language not supported
- swift/ql/integration-tests/autobuilder/unsupported-os/diagnostics.expected: Language not supported
- swift/tools/autobuild.cmd: Language not supported
- swift/tools/autobuild.sh: Language not supported
- swift/tools/diagnostics/AutobuilderIncompatibleOs.cpp: Language not supported
- swift/tools/incompatible-os/BUILD.bazel: Language not supported
- swift/tools/incompatible-os/IncompatibleOs.cpp: Language not supported
Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more
Collaborator
|
CI is red. |
Contributor
Author
🤦 |
criemen
approved these changes
Dec 16, 2024
Collaborator
criemen
left a comment
There was a problem hiding this comment.
bazel changes LGTM (the rest as well, so I don't know if you want/need to wait on the Swift team as well).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
extractorexecutable).