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 1
1
// RUN: %empty-directory(%t)
2
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/%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
4
4
// RUN: %target-run %t/a.out | %FileCheck %s
5
5
6
6
// REQUIRES: executable_test
7
7
// REQUIRES: swift_in_compiler
8
8
// REQUIRES: optimized_stdlib
9
- // REQUIRES: OS=macosx
9
+ // REQUIRES: OS=macosx || OS=wasip1
10
10
// REQUIRES: swift_feature_Embedded
11
11
12
12
import _Concurrency
Original file line number Diff line number Diff line change 3
3
4
4
// RUN: %target-swift-frontend -emit-module -o %t/MyModule.swiftmodule %t/MyModule.swift -enable-experimental-feature Embedded -parse-as-library
5
5
// 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
7
7
// RUN: %target-run %t/a.out | %FileCheck %s
8
8
9
9
// REQUIRES: swift_in_compiler
10
10
// REQUIRES: executable_test
11
11
// REQUIRES: optimized_stdlib
12
- // REQUIRES: OS=macosx
12
+ // REQUIRES: OS=macosx || OS=wasip1
13
13
// REQUIRES: swift_feature_Embedded
14
14
15
15
// BEGIN MyModule.swift
Original file line number Diff line number Diff line change 1
1
// 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
4
4
// RUN: %target-run %t/a.out | %FileCheck %s
5
5
6
6
// REQUIRES: executable_test
7
7
// REQUIRES: swift_in_compiler
8
8
// REQUIRES: optimized_stdlib
9
- // REQUIRES: OS=macosx
9
+ // REQUIRES: OS=macosx || OS=wasip1
10
10
// REQUIRES: swift_feature_Embedded
11
11
12
12
import _Concurrency
Original file line number Diff line number Diff line change 1
1
// 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
4
4
// RUN: %target-run %t/a.out | %FileCheck %s
5
5
6
6
// REQUIRES: executable_test
7
7
// REQUIRES: swift_in_compiler
8
8
// REQUIRES: optimized_stdlib
9
- // REQUIRES: OS=macosx
9
+ // REQUIRES: OS=macosx || OS=wasip1
10
10
// REQUIRES: swift_feature_Embedded
11
11
12
12
import _Concurrency
You can’t perform that action at this time.
0 commit comments