File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 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
Original file line number Diff line number Diff line change 33
44// RUN: %target-swift-frontend -emit-module -o %t/MyModule.swiftmodule %t/MyModule.swift -enable-experimental-feature Embedded -parse-as-library
55// RUN: %target-swift-frontend -c -I %t %t/Main.swift -enable-experimental-feature Embedded -o %t/a.o -parse-as-library
6- // 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
6+ // 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
77// RUN: %target-run %t/a.out | %FileCheck %s
88
99// REQUIRES: swift_in_compiler
1010// REQUIRES: executable_test
1111// REQUIRES: optimized_stdlib
12- // REQUIRES: OS=macosx
12+ // REQUIRES: OS=macosx || OS=wasip1
1313// REQUIRES: swift_feature_Embedded
1414
1515// BEGIN MyModule.swift
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RUN: %target-swift-frontend -enable-experimental-feature Embedded -target %target-cpu-apple-macos14 - 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
2+ // 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/%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)
2- // RUN: %target-swift-frontend -enable-experimental-feature Embedded -target %target-cpu-apple-macos14 - 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
2+ // 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/%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
You can’t perform that action at this time.
0 commit comments