-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Declare vars nonisolated to solve compiler warning #7954
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?
Conversation
@swift-ci please test |
@swift-ci please test macOS |
Xcode/Swift installed on macOS CI nodes is too old to support this, so either it has to be conditional on the compiler version or wait (uncertain amount of time) until those nodes are updated. |
😢 |
I've been wondering if we need to take a step back with all these concurrency warnings and just make everything Swift 6. It certainly would be a ton of work but would be a good showcase for it. |
This is how we recommend to approach migration to Swift 6 - deal with warnings provided in Swift 5 mode after that strict concurrency ( |
I'm just looking for when we should start adopting actors and Sendable and make more things value types and all that. We had that in a previous project I worked on. Stepping into SwiftPM feels like going back in time :). |
The main blocker is macOS CI, which is still on 5.9. Given that we need to make sure the toolchain can be bootstrapped from previous versions of Swift, we'll have to support 5.10 for quite some time. |
I would leave this PR waiting until CI gets upgraded or Cancellator.swift is refactored using new concurrency. |
No description provided.