File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -20,20 +20,12 @@ import Swift
2020
2121 @inlinable
2222 public nonisolated var unownedExecutor : UnownedSerialExecutor {
23- #if compiler(>=5.5) && $BuiltinBuildMainExecutor
2423 return UnownedSerialExecutor ( Builtin . buildMainActorExecutorRef ( ) )
25- #else
26- fatalError ( " Swift compiler is incompatible with this SDK version " )
27- #endif
2824 }
2925
3026 @inlinable
3127 public static var sharedUnownedExecutor : UnownedSerialExecutor {
32- #if compiler(>=5.5) && $BuiltinBuildMainExecutor
3328 return UnownedSerialExecutor ( Builtin . buildMainActorExecutorRef ( ) )
34- #else
35- fatalError ( " Swift compiler is incompatible with this SDK version " )
36- #endif
3729 }
3830
3931 @inlinable
@@ -50,20 +42,12 @@ import Swift
5042
5143 @inlinable
5244 public nonisolated var unownedExecutor : UnownedSerialExecutor {
53- #if compiler(>=5.5) && $BuiltinBuildMainExecutor
5445 return UnownedSerialExecutor ( Builtin . buildMainActorExecutorRef ( ) )
55- #else
56- fatalError ( " Swift compiler is incompatible with this SDK version " )
57- #endif
5846 }
5947
6048 @inlinable
6149 public static var sharedUnownedExecutor : UnownedSerialExecutor {
62- #if compiler(>=5.5) && $BuiltinBuildMainExecutor
6350 return UnownedSerialExecutor ( Builtin . buildMainActorExecutorRef ( ) )
64- #else
65- fatalError ( " Swift compiler is incompatible with this SDK version " )
66- #endif
6751 }
6852
6953 @inlinable
You can’t perform that action at this time.
0 commit comments