Skip to content

Commit 447b281

Browse files
authored
concurrency takeover safe for 6.0 (#2710)
1 parent 29e832a commit 447b281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extension NIOSingletons {
3939
/// - warning: You may only call this method once.
4040
@discardableResult
4141
public static func unsafeTryInstallSingletonPosixEventLoopGroupAsConcurrencyGlobalExecutor() -> Bool {
42-
#if /* minimum supported */ compiler(>=5.9) && /* maximum tested */ swift(<5.11)
42+
#if /* minimum supported */ compiler(>=5.9) && /* maximum tested */ compiler(<6.1)
4343
guard #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) else {
4444
return false
4545
}

0 commit comments

Comments
 (0)