Skip to content

Commit e9ca11e

Browse files
authored
[test] Add requires for embedded_stdlib for test that uses the stdlib (#84656)
The test enables the Embedded experimental feature, but beside the compiler support, it also requires loading the stdlib for embedded, but the test is not marked as such. For configurations that do not build the embedded stdlibs, this makes the test fail, because the stdlib is not available. Mark it with the appropriate requires to avoid this problem. This should not change the results in the swift.org CI because those CI configurations build the embedded stdlibs by default.
1 parent 94de642 commit e9ca11e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

validation-test/SILOptimizer/rdar161433604.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// REQUIRES: OS=macosx || OS=linux-gnu
1010
// REQUIRES: swift_feature_Embedded
1111
// REQUIRES: swift_feature_LifetimeDependence
12+
// REQUIRES: embedded_stdlib
1213

1314
struct NoEscapeNoCopy: ~Escapable, ~Copyable {}
1415

0 commit comments

Comments
 (0)