Skip to content

Commit 4292153

Browse files
authored
Support concurrency take over in 6.2 (#3043)
Motivation: The compiler now self-presents as 6.2 on the nightlies, and the executor takeover still works. Lift the guard. Modifications: Lift the guard on compiler version. Result: Integration tests pass again.
1 parent 100b1f4 commit 4292153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extension NIOSingletons {
4040
@discardableResult
4141
public static func unsafeTryInstallSingletonPosixEventLoopGroupAsConcurrencyGlobalExecutor() -> Bool {
4242
// Guard between the minimum and maximum supported version for the hook
43-
#if compiler(>=5.9) && compiler(<6.2)
43+
#if compiler(>=5.9) && compiler(<6.3)
4444
guard #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) else {
4545
return false
4646
}

0 commit comments

Comments
 (0)