-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add guards for code that relies on _Concurrency to allow compilation with Xcode 13 #237
Conversation
This allows Xcode 13 to still compile on macOS 11 which does not have symbols for Concurrency yet See swift-server/swift-service-lifecycle#110
Can one of the admins verify this patch? |
8 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
This looks right 👍 |
@swift-server-bot test this please |
@swift-server-bot test this please |
Add extra code guards so that Xcode 13 will compile this package on macOS 11, which does not have symbols for Concurrency yet.
Motivation:
Allow compilation with Xcode 13
Modifications:
Changed code guards
#if compiler(>=5.5)
to#if compiler(>=5.5) && canImport(_Concurrency)
Got the idea from swift-server/swift-service-lifecycle#110
Result:
Successfully compiles with Xcode 13