File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,4 @@ extension EnumeratedSequence: Sequence {
160
160
}
161
161
162
162
@available ( SwiftStdlib 5 . 11 , * )
163
- public func hello( ) {
164
- print ( " hello! " )
165
- }
163
+ public func hello( ) { }
Original file line number Diff line number Diff line change 7
7
// RUN: diff -u %S/../../Inputs/macOS/arm64/stdlib/baseline %t/symbols
8
8
9
9
// REQUIRES: swift_stdlib_no_asserts
10
- // REQUIRES: OS=macosx
11
-
12
- // FIXME: This isn't technically required. We really want a STDLIB_ARCH=arm64
13
- // feature that tells us we've built an arm64 version of the standard library.
14
- // REQUIRES: CPU=arm64
10
+ // REQUIRES: STDLIB_VARIANT=macosx-arm64
15
11
16
12
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment below.)
17
13
Original file line number Diff line number Diff line change 7
7
// RUN: diff -u %S/../../Inputs/macOS/x86_64/stdlib/baseline %t/symbols
8
8
9
9
// REQUIRES: swift_stdlib_no_asserts
10
- // REQUIRES: OS=macosx
11
-
12
- // FIXME: This isn't technically required. We really want a STDLIB_ARCH=x86_64
13
- // feature that tells us we've built an x86_64 version of the standard library.
14
- // REQUIRES: CPU=x86_64
10
+ // REQUIRES: STDLIB_VARIANT=macosx-x86_64
15
11
16
12
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment below.)
17
13
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ config.testing_against_host_compiler = \
73
73
74
74
# Please remember to handle empty strings and/or unset variables correctly.
75
75
76
+ config .available_features .add ("STDLIB_VARIANT={}" .format (config .variant_suffix [1 :]))
77
+
76
78
if "@SWIFT_ASAN_BUILD@" == "TRUE" :
77
79
config .available_features .add ("asan" )
78
80
else :
You can’t perform that action at this time.
0 commit comments