-
Notifications
You must be signed in to change notification settings - Fork 146
Drop Swift 5.10 #834
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
base: main
Are you sure you want to change the base?
Drop Swift 5.10 #834
Conversation
Motivation: Swift 5.10 is no longer supported, we should bump the tools version and remove it from our CI. Modifications: * Bump the Swift tools version to Swift 6.0 * Remove Swift 5.10 jobs where appropriate in main.yml, pull_request.yml Result: Code reflects our support window.
// Use Swift 5 language mode until Swift 6.1 tools are the minimum version. | ||
.swiftLanguageMode(.v5), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning behind this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concurrency errors that only showed up on 6.0 but work fine on 6.1+, as the compiler got smarter about things like sending patterns etc. So the code is safe, 6.0 just doesn't know that. Once 6.3 is out the problem will go away and we can move to Swift 6 mode.
Motivation:
Swift 5.10 is no longer supported, we should bump the tools version and remove it from our CI.
Modifications:
Result:
Code reflects our support window.