Skip to content

Conversation

@programmarchy
Copy link

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

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
@swift-server-bot
Copy link

Can one of the admins verify this patch?

8 similar comments
@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@programmarchy programmarchy changed the title Add guards for code that relies on _Concurrency Add guards for code that relies on _Concurrency to allow compilation with Xcode 13 Oct 4, 2021
@ktoso
Copy link
Contributor

ktoso commented Oct 4, 2021

This looks right 👍

@tomerd
Copy link
Contributor

tomerd commented Oct 5, 2021

@swift-server-bot test this please

@tomerd
Copy link
Contributor

tomerd commented Oct 5, 2021

@swift-server-bot test this please

@tomerd tomerd added the 🔨 semver/patch No public API change. label Oct 5, 2021
@tomerd tomerd merged commit 699ada1 into awslabs:v0 Oct 5, 2021
@tomerd
Copy link
Contributor

tomerd commented Oct 5, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants