Skip to content

Commit dac80f6

Browse files
committed
Test fix to use the SwiftStdlib 5.5 check.
1 parent b598965 commit dac80f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Concurrency/Runtime/custom_executors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ actor Custom {
1919
var count = 0
2020
/*nonisolated*/ let simple = Simple()
2121

22-
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
22+
@available(SwiftStdlib 5.5, *)
2323
nonisolated var unownedExecutor: UnownedSerialExecutor {
2424
print("custom unownedExecutor")
2525
return simple.unownedExecutor
@@ -33,7 +33,7 @@ actor Custom {
3333
}
3434
}
3535

36-
@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
36+
@available(SwiftStdlib 5.5, *)
3737
@main struct Main {
3838
static func main() async {
3939
print("begin")

0 commit comments

Comments
 (0)