Skip to content
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

Swift: improve diagnostics for OS incompatibility #18289

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

redsun82
Copy link
Contributor

  • 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).

* 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).
@redsun82 redsun82 requested a review from a team as a code owner December 16, 2024 09:16

Choose a reason for hiding this comment

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

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

@github-actions github-actions bot added the Swift label Dec 16, 2024
@criemen
Copy link
Collaborator

criemen commented Dec 16, 2024

CI is red.

@redsun82
Copy link
Contributor Author

CI is red.

e4eb269

🤦

Copy link
Collaborator

@criemen criemen left a comment

Choose a reason for hiding this comment

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

bazel changes LGTM (the rest as well, so I don't know if you want/need to wait on the Swift team as well).

@redsun82 redsun82 merged commit a333453 into main Dec 16, 2024
18 checks passed
@redsun82 redsun82 deleted the redsun82/swift-remove-linux branch December 16, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants