Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stdlib/public/Concurrency/Executor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public protocol MainExecutor: RunLoopExecutor, SerialExecutor {

/// An ExecutorFactory is used to create the default main and task
/// executors.
@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public protocol ExecutorFactory {
#if os(WASI) || !$Embedded
/// Constructs and returns the main executor, which is started implicitly
Expand All @@ -604,7 +604,7 @@ public protocol ExecutorFactory {
static var defaultExecutor: any TaskExecutor { get }
}

@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
typealias DefaultExecutorFactory = PlatformExecutorFactory

@available(StdlibDeploymentTarget 6.2, *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import Swift

// This platform uses a single, global, CooperativeExecutor
@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
static let executor = CooperativeExecutor()
public static var mainExecutor: any MainExecutor { executor }
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorDarwin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import Swift

@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static var mainExecutor: any MainExecutor {
if CoreFoundation.isPresent {
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorFreeBSD.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import Swift

// The default executors for now are Dispatch-based
@available(SwiftStdlib 6.3, *)
@available(SwiftStdlib 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static let mainExecutor: any MainExecutor = DispatchMainExecutor()
public static let defaultExecutor: any TaskExecutor
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorLinux.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import Swift

// The default executors for now are Dispatch-based
@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static let mainExecutor: any MainExecutor = DispatchMainExecutor()
public static let defaultExecutor: any TaskExecutor
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorNone.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import Swift

@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static let mainExecutor: any MainExecutor = UnimplementedMainExecutor()
public static let defaultExecutor: any TaskExecutor = UnimplementedTaskExecutor()
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorOpenBSD.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import Swift

// The default executors for now are Dispatch-based
@available(SwiftStdlib 6.3, *)
@available(SwiftStdlib 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static let mainExecutor: any MainExecutor = DispatchMainExecutor()
public static let defaultExecutor: any TaskExecutor
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/PlatformExecutorWindows.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import Swift

// The default executors for now are Dispatch-based
@available(StdlibDeploymentTarget 6.3, *)
@available(StdlibDeploymentTarget 6.2, *)
public struct PlatformExecutorFactory: ExecutorFactory {
public static let mainExecutor: any MainExecutor = DispatchMainExecutor()
public static let defaultExecutor: any TaskExecutor =
Expand Down