Skip to content

Commit

Permalink
Support concurrency take over in 6.2 (#3043)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Lukasa authored Jan 8, 2025
1 parent 100b1f4 commit 4292153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4292153

Please sign in to comment.