Skip to content

Conversation

@stevapple
Copy link
Contributor

@stevapple stevapple commented Sep 23, 2021

Adopt Swift Concurrency adoption guidelines for Swift Server Libraries (swift-server/guides#70).

Motivation:

Adopt Swift Concurrency adoption guidelines (for the correct way to import _Concurrency).

Modifications:

  • Use #if compiler(>=5.5) && canImport(_Concurrency) to judge if Concurrency is available;
  • Some cleaning.

@swift-server-bot
Copy link

Can one of the admins verify this patch?

6 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?

@stevapple stevapple marked this pull request as draft September 26, 2021 23:57
@stevapple stevapple force-pushed the concurrency-guideline branch 3 times, most recently from b91487c to a844d9e Compare December 6, 2021 09:49
@stevapple stevapple marked this pull request as ready for review December 6, 2021 09:49
@stevapple stevapple force-pushed the concurrency-guideline branch 2 times, most recently from 035c5ef to 0a0d1aa Compare December 6, 2021 09:57
@stevapple
Copy link
Contributor Author

cc @tomerd @fabianfett

Copy link
Contributor

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @stevapple

@fabianfett
Copy link
Contributor

@swift-server-bot test this please

@fabianfett
Copy link
Contributor

@stevapple Let's do the sendable checks in another pr please! We don't mind them for merging right now.

@stevapple stevapple force-pushed the concurrency-guideline branch from 8af643e to a63cda6 Compare December 6, 2021 10:32
@stevapple stevapple force-pushed the concurrency-guideline branch from a63cda6 to b78e4a0 Compare December 6, 2021 10:34
@fabianfett
Copy link
Contributor

@swift-server-bot test this please (@tomerd @yim-lee could I get bot rights for this repo and lambda-events as well please?)

@yim-lee
Copy link
Contributor

yim-lee commented Dec 6, 2021

could I get bot rights for this repo and lambda-events as well please?

@fabianfett I believe you have them already. Are you experiencing issues?

@fabianfett fabianfett added the 🔨 semver/patch No public API change. label Dec 6, 2021
@fabianfett
Copy link
Contributor

Nightly failed because of Sendable checking.

@fabianfett fabianfett merged commit 4317c53 into awslabs:main Dec 6, 2021
@stevapple stevapple deleted the concurrency-guideline branch December 7, 2021 02:55
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