Skip to content

Commit a931a71

Browse files
committed
CON-5523 Ventura fixes
1 parent 5e9ec1b commit a931a71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Sources/Subprocess/SubprocessDependencyBuilder.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ public protocol SubprocessDependencyFactory {
5656
/// Default implementation of SubprocessDependencyFactory
5757
public struct SubprocessDependencyBuilder: SubprocessDependencyFactory {
5858
private static let queue = DispatchQueue(label: "\(Self.self)")
59+
60+
#if compiler(<5.10)
61+
private static var _shared: any SubprocessDependencyFactory = SubprocessDependencyBuilder()
62+
#else
5963
nonisolated(unsafe) private static var _shared: any SubprocessDependencyFactory = SubprocessDependencyBuilder()
64+
#endif
6065
/// Shared instance used for dependency creation
6166
public static var shared: any SubprocessDependencyFactory {
6267
get {

0 commit comments

Comments
 (0)