Skip to content

Commit 3adfd92

Browse files
author
Kohki Miki
committed
Add Sendable to FileRuleDescription
1 parent cb497bd commit 3adfd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PackageLoading/TargetSourcesBuilder.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,11 +563,11 @@ public struct TargetSourcesBuilder {
563563
}
564564

565565
/// Describes a rule for including a source or resource file in a target.
566-
public struct FileRuleDescription {
566+
public struct FileRuleDescription: Sendable {
567567
/// A rule semantically describes a file/directory in a target.
568568
///
569569
/// It is up to the build system to translate a rule into a build command.
570-
public enum Rule: Equatable {
570+
public enum Rule: Equatable, Sendable {
571571
/// The compile rule for `sources` in a package.
572572
case compile
573573

0 commit comments

Comments
 (0)