Skip to content

[Swiftify] Skip swiftify during symbolic import #81349

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
May 7, 2025

Conversation

hnrklssn
Copy link
Contributor

@hnrklssn hnrklssn commented May 7, 2025

  • Explanation:
    Swiftify does not, and can not, work in the symbolic import mode. This skips swiftify when that mode is enabled.
  • Scope:
    This should not affect compilation. It doesn't seem like symbolic imports are really used. They have been removed in main in [cxx-interop] Remove symbolic import mode #81257, but this is a smaller change to fix a specific issue that should carry less risk to the release.
  • Issues:
    rdar://149953125
  • Original PRs:
    Not really applicable since importSymbolicCXXDecls is no longer a thing in main, but [cxx-interop] Remove symbolic import mode #81257 would be the closes thing.
  • Risk:
    Low
  • Testing:
    User testing in Xcode
  • Reviewers:
    No original change, see above

Swiftify cannot work in this mode. This mode has been removed entirely
in main. This takes a smaller change into the release to minimise risk.

rdar://149953125
@hnrklssn hnrklssn requested a review from a team as a code owner May 7, 2025 07:00
@hnrklssn
Copy link
Contributor Author

hnrklssn commented May 7, 2025

@swift-ci please test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

The seems like the safest thing to do given the trouble we've had with the symbolic import.

@hnrklssn hnrklssn merged commit 5498c5d into swiftlang:release/6.2 May 7, 2025
5 checks passed
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