Skip to content

Commit ab45cab

Browse files
authored
[Distributed] Skip availability checks, checking if distributed is available is enough (#39899)
1 parent be52565 commit ab45cab

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

test/Distributed/SIL/distributed_actor_default_deinit_sil.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
// RUN: %target-swift-frontend -module-name default_deinit -primary-file %s -emit-sil -enable-experimental-distributed | %FileCheck %s --enable-var-scope --dump-input=fail
1+
// RUN: %target-swift-frontend -module-name default_deinit -primary-file %s -emit-sil -enable-experimental-distributed -disable-availability-checking | %FileCheck %s --enable-var-scope --dump-input=fail
22
// REQUIRES: concurrency
33
// REQUIRES: distributed
44

5-
// REQUIRES: OS=macosx
6-
75
import _Distributed
86

97
class SomeClass {}
108

11-
@available(macOS 12, *)
129
distributed actor MyDistActor {
1310
let localOnlyField: SomeClass
1411

test/Distributed/SIL/distributed_actor_default_init_sil.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
// RUN: %target-swift-frontend -module-name test -primary-file %s -emit-sil -enable-experimental-distributed | %FileCheck %s --enable-var-scope --dump-input=fail --implicit-check-not=actorReady --implicit-check-not=resignIdentity --implicit-check-not=hop_to_executor
1+
// RUN: %target-swift-frontend -module-name test -primary-file %s -emit-sil -enable-experimental-distributed -disable-availability-checking | %FileCheck %s --enable-var-scope --dump-input=fail --implicit-check-not=actorReady --implicit-check-not=resignIdentity --implicit-check-not=hop_to_executor
22
// REQUIRES: concurrency
33
// REQUIRES: distributed
44

5-
// REQUIRES: OS=macosx
6-
75
import _Distributed
86

97
class SomeClass {}
108

11-
@available(macOS 12, *)
129
distributed actor MyDistActor {
1310
var localOnlyField: SomeClass
1411

0 commit comments

Comments
 (0)