@@ -319,7 +319,6 @@ extension SerialExecutor {
319319@available ( SwiftStdlib 5 . 1 , * )
320320@frozen
321321public struct UnownedSerialExecutor : Sendable {
322- #if compiler(>=5.5) && $BuiltinExecutor
323322 @usableFromInline
324323 internal var executor : Builtin . Executor
325324
@@ -329,22 +328,15 @@ public struct UnownedSerialExecutor: Sendable {
329328 public var _executor : Builtin . Executor {
330329 self . executor
331330 }
332- #endif
333331
334332 @inlinable
335333 public init ( _ executor: Builtin . Executor ) {
336- #if compiler(>=5.5) && $BuiltinExecutor
337334 self . executor = executor
338- #endif
339335 }
340336
341337 @inlinable
342338 public init < E: SerialExecutor > ( ordinary executor: __shared E) {
343- #if compiler(>=5.5) && $BuiltinBuildExecutor
344339 self . executor = Builtin . buildOrdinarySerialExecutorRef ( executor)
345- #else
346- fatalError ( " Swift compiler is incompatible with this SDK version " )
347- #endif
348340 }
349341
350342 /// Opts the executor into complex "same exclusive execution context" equality checks.
@@ -376,7 +368,6 @@ public struct UnownedSerialExecutor: Sendable {
376368@available ( SwiftStdlib 6 . 0 , * )
377369@frozen
378370public struct UnownedTaskExecutor : Sendable {
379- #if $BuiltinExecutor
380371 @usableFromInline
381372 internal var executor : Builtin . Executor
382373
@@ -386,13 +377,10 @@ public struct UnownedTaskExecutor: Sendable {
386377 public var _executor : Builtin . Executor {
387378 self . executor
388379 }
389- #endif
390380
391381 @inlinable
392382 public init ( _ executor: Builtin . Executor ) {
393- #if $BuiltinExecutor
394383 self . executor = executor
395- #endif
396384 }
397385
398386 @inlinable
0 commit comments