File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: %target-swift-frontend -enable-experimental-feature Embedded -parse-as-library %s -c -o %t/a.o
3- // RUN: %target-clang %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%target-cpu-apple-macos -lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip
3+ // RUN: %target-clang %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%module- target-triple %target-clang-resource-dir-opt -lswift_Concurrency %target-swift-default-executor-opt -dead_strip
44// RUN: %target-run %t/a.out | %FileCheck %s
55
66// REQUIRES: executable_test
77// REQUIRES: swift_in_compiler
88// REQUIRES: optimized_stdlib
9- // REQUIRES: OS=macosx
9+ // REQUIRES: OS=macosx || OS=wasip1
1010// REQUIRES: swift_feature_Embedded
1111
1212import _Concurrency
@@ -64,7 +64,7 @@ actor Number {
6464 let n1 = await Number ( )
6565 await n1. task!. value
6666
67- let n2 = await Number ( iterations: 1000 )
67+ let n2 = await Number ( iterations: 500 )
6868 let val = await n2. val
6969 guard val == 1 else {
7070 fatalError ( " wrong val setting " )
Original file line number Diff line number Diff line change 22
33// REQUIRES: swift_in_compiler
44// REQUIRES: optimized_stdlib
5- // REQUIRES: OS=macosx
5+ // REQUIRES: OS=macosx || OS=wasip1
66// REQUIRES: swift_feature_Embedded
77
88import Builtin
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: %target-swift-frontend -enable-experimental-feature Embedded -parse-as-library %s -c -o %t/a.o
3- // RUN: %target-clang %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%target-cpu-apple-macos -lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip
3+ // RUN: %target-clang %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%module- target-triple %target-clang-resource-dir-opt -lswift_Concurrency %target-swift-default-executor-opt -dead_strip
44// RUN: %target-run %t/a.out | %FileCheck %s
55
66// REQUIRES: executable_test
77// REQUIRES: swift_in_compiler
88// REQUIRES: optimized_stdlib
9- // REQUIRES: OS=macosx
9+ // REQUIRES: OS=macosx || OS=wasip1
1010// REQUIRES: swift_feature_Embedded
1111
1212import _Concurrency
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: %target-swift-frontend -enable-experimental-feature Embedded -parse-as-library %s -c -o %t/a.o -g -O
33// RUN: %target-clang -x c -std=c11 -c %S/Inputs/debug-malloc.c -o %t/debug-malloc.o -g
4- // RUN: %target-clang %t/a.o %t/debug-malloc.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%target-cpu-apple-macos - lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip -g
4+ // RUN: %target-clang %t/a.o %t/debug-malloc.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%module- target-triple %target-clang-resource-dir-opt %target-swift-default-executor-opt - lswift_Concurrency %target-swift-default-executor-opt -dead_strip -g
55// RUN: %target-run %t/a.out | %FileCheck %s
66
77// REQUIRES: executable_test
88// REQUIRES: swift_in_compiler
99// REQUIRES: optimized_stdlib
10- // REQUIRES: OS=macosx
10+ // REQUIRES: OS=macosx || OS=wasip1
1111// REQUIRES: swift_feature_Embedded
1212
1313import _Concurrency
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22// RUN: %target-swift-frontend -enable-experimental-feature Embedded -parse-as-library %s -c -o %t/a.o
3- // RUN: %target-clang %target-clang-resource-dir-opt %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%module-target-triple -lc++ -lswift_Concurrency -lswift_ConcurrencyDefaultExecutor -dead_strip
3+ // RUN: %target-clang %target-clang-resource-dir-opt %t/a.o -o %t/a.out -L%swift_obj_root/lib/swift/embedded/%module-target-triple -lc++ -lswift_Concurrency %target-swift-default-executor-opt -dead_strip
44// RUN: %target-run %t/a.out | %FileCheck %s
55
66// REQUIRES: executable_test
77// REQUIRES: swift_in_compiler
88// REQUIRES: optimized_stdlib
9- // REQUIRES: OS=macosx
9+ // REQUIRES: OS=macosx || OS=wasip1
1010// REQUIRES: swift_feature_Embedded
1111
1212import _Concurrency
You can’t perform that action at this time.
0 commit comments