Skip to content

Commit d6522b2

Browse files
authored
Explicitly import _Concurrency in PackageDescription/BuildSettings.swift (#8850)
In order to reference `MainActor.Type` in certain circumstances `_Concurrency` must be imported.
1 parent 1a1b2b2 commit d6522b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/PackageDescription/BuildSettings.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
import _Concurrency
14+
1315
/// The build configuration, such as debug or release.
1416
public struct BuildConfiguration: Sendable {
1517
/// The configuration of the build. Valid values are `debug` and `release`.

0 commit comments

Comments
 (0)