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