Skip to content

[Modules] Allow implicit conversions when loading interfaces with invalid os versions #82228

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cyndyishida
Copy link
Contributor

Initially, the compiler rejected building dependencies that contained OS versions in an invalid range. However, this happens to be quite disruptive, so instead allow it and request that these versions be implicitly bumped based on what llvm::Triple::getCanonicalVersionForOS computes.

resolves: rdar://153205856

@cyndyishida
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi
Copy link
Contributor

Thank you Cyndy!

@cyndyishida cyndyishida force-pushed the eng/PR-OneVersionForThemAll branch from e28a656 to 5045f7b Compare June 13, 2025 01:52
@cyndyishida
Copy link
Contributor Author

@swift-ci please test

@cyndyishida
Copy link
Contributor Author

@swift-ci please smoke test

…alid os versions.

Initially, the compiler rejected building dependencies that contained OS
versions in an invalid range. This happens to be quite disruptive, so
instead allow it and request that these versions be implicitly bumped
based on what `llvm::getCanonicalVersionForOS` computes
@cyndyishida cyndyishida force-pushed the eng/PR-OneVersionForThemAll branch from 5045f7b to 977a1e1 Compare June 13, 2025 17:53
@cyndyishida
Copy link
Contributor Author

@swift-ci please smoke test

@cyndyishida
Copy link
Contributor Author

swiftlang/swift-driver#1931
@swift-ci please smoke test

@cyndyishida cyndyishida enabled auto-merge (squash) June 13, 2025 23:18
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.

5 participants