File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.10
1
+ // swift-tools-version: 5.9
2
2
3
3
import PackageDescription
4
4
Original file line number Diff line number Diff line change @@ -56,7 +56,12 @@ public protocol SubprocessDependencyFactory {
56
56
/// Default implementation of SubprocessDependencyFactory
57
57
public struct SubprocessDependencyBuilder : SubprocessDependencyFactory {
58
58
private static let queue = DispatchQueue ( label: " \( Self . self) " )
59
+
60
+ #if compiler(<5.10)
61
+ private static var _shared : any SubprocessDependencyFactory = SubprocessDependencyBuilder ( )
62
+ #else
59
63
nonisolated ( unsafe) private static var _shared : any SubprocessDependencyFactory = SubprocessDependencyBuilder ( )
64
+ #endif
60
65
/// Shared instance used for dependency creation
61
66
public static var shared : any SubprocessDependencyFactory {
62
67
get {
You can’t perform that action at this time.
0 commit comments