Skip to content
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 Sendable to FileRuleDescription #7563

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

giginet
Copy link
Contributor

@giginet giginet commented May 15, 2024

Motivation:

I found that the FileRuleDescription doesn't conform to Sendable; due to this, some products fail to build for Swift 6.

Modifications:

Some structs conform to Sendable

Result:

I passed to build on the latest Swift 6.0 snapshot.

# swift 6.0 4/30
TOOLCHAINS=org.swift.600202404301a swift build

@giginet
Copy link
Contributor Author

giginet commented May 15, 2024

oops, the same changes are included in #7559

@bnbarham
Copy link
Contributor

We haven't added sendable annotations on most of SwiftPM right now. Happy to have them added piecemeal, but could you add to main first and then cherry-pick over to release/6.0 after 🙇?

MaxDesiatov
MaxDesiatov previously approved these changes May 28, 2024
Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM, but needs to be submitted on main first.

@MaxDesiatov MaxDesiatov dismissed their stale review May 28, 2024 14:24

Just noticed this was filed against release/6.0. It has to land in main first.

@giginet giginet changed the base branch from release/6.0 to main May 28, 2024 15:43
@giginet
Copy link
Contributor Author

giginet commented May 28, 2024

I changed the base to main

@MaxDesiatov
Copy link
Member

@swift-ci test

@MaxDesiatov MaxDesiatov added concurrency no functional change No user-visible functional changes included labels May 28, 2024
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 28, 2024 16:47
@MaxDesiatov
Copy link
Member

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit 4dc41b0 into apple:main May 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency no functional change No user-visible functional changes included
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants