Tests: Remove -disable-availability-checking in Distributed tests.

Use the `%target-swift-5.X-abi-triple` substitutions to compile the tests for
deployment to the minimum OS versions required for the APIs used in the tests,
instead of disabling availability checking.
This commit is contained in:
Allan Shortlidge
2024-10-19 18:51:56 -07:00
parent 936e782bb9
commit 75bad99f78
124 changed files with 235 additions and 235 deletions

View File

@@ -1,7 +1,7 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/Inputs/FakeDistributedActorSystems.swift
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -target %target-swift-5.7-abi-triple %S/Inputs/FakeDistributedActorSystems.swift
// RUN: %target-swift-frontend -I %t -emit-sil -strict-concurrency=complete -disable-availability-checking -verify %s -o /dev/null
// RUN: %target-swift-frontend -I %t -emit-sil -strict-concurrency=complete -target %target-swift-5.7-abi-triple -verify %s -o /dev/null
// REQUIRES: concurrency
// REQUIRES: asserts
@@ -27,4 +27,4 @@ distributed actor MyDistributedActor {
distributed func transferActorIsolatedArgIntoClosure(
_ notSendableParamToDistributedFunc: NonSendableKlass) async {}
}
}