@@ -319,7 +319,6 @@ extension SerialExecutor {
319
319
@available ( SwiftStdlib 5 . 1 , * )
320
320
@frozen
321
321
public struct UnownedSerialExecutor : Sendable {
322
- #if compiler(>=5.5) && $BuiltinExecutor
323
322
@usableFromInline
324
323
internal var executor : Builtin . Executor
325
324
@@ -329,22 +328,15 @@ public struct UnownedSerialExecutor: Sendable {
329
328
public var _executor : Builtin . Executor {
330
329
self . executor
331
330
}
332
- #endif
333
331
334
332
@inlinable
335
333
public init ( _ executor: Builtin . Executor ) {
336
- #if compiler(>=5.5) && $BuiltinExecutor
337
334
self . executor = executor
338
- #endif
339
335
}
340
336
341
337
@inlinable
342
338
public init < E: SerialExecutor > ( ordinary executor: __shared E) {
343
- #if compiler(>=5.5) && $BuiltinBuildExecutor
344
339
self . executor = Builtin . buildOrdinarySerialExecutorRef ( executor)
345
- #else
346
- fatalError ( " Swift compiler is incompatible with this SDK version " )
347
- #endif
348
340
}
349
341
350
342
/// Opts the executor into complex "same exclusive execution context" equality checks.
@@ -376,7 +368,6 @@ public struct UnownedSerialExecutor: Sendable {
376
368
@available ( SwiftStdlib 6 . 0 , * )
377
369
@frozen
378
370
public struct UnownedTaskExecutor : Sendable {
379
- #if $BuiltinExecutor
380
371
@usableFromInline
381
372
internal var executor : Builtin . Executor
382
373
@@ -386,13 +377,10 @@ public struct UnownedTaskExecutor: Sendable {
386
377
public var _executor : Builtin . Executor {
387
378
self . executor
388
379
}
389
- #endif
390
380
391
381
@inlinable
392
382
public init ( _ executor: Builtin . Executor ) {
393
- #if $BuiltinExecutor
394
383
self . executor = executor
395
- #endif
396
384
}
397
385
398
386
@inlinable
0 commit comments