From 4292153274d3a35ab45453e29128322ee32d69f0 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Wed, 8 Jan 2025 15:51:08 +0000 Subject: [PATCH] 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. --- Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift b/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift index 64b53d8379..010a06297d 100644 --- a/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift +++ b/Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift @@ -40,7 +40,7 @@ extension NIOSingletons { @discardableResult public static func unsafeTryInstallSingletonPosixEventLoopGroupAsConcurrencyGlobalExecutor() -> Bool { // Guard between the minimum and maximum supported version for the hook - #if compiler(>=5.9) && compiler(<6.2) + #if compiler(>=5.9) && compiler(<6.3) guard #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) else { return false }