Skip to content

Commit ab82044

Browse files
thomasvlswiple-rules-gardener
authored andcommitted
Promote swift.layering_check_swift to default for all toolchains.
Can still be turned off if needed in toolchain really doesn't support it. PiperOrigin-RevId: 749793242
1 parent 55f2e47 commit ab82044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

swift/internal/features.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ load(
2727
"SWIFT_FEATURE_ENABLE_V6",
2828
"SWIFT_FEATURE_FULL_DEBUG_INFO",
2929
"SWIFT_FEATURE_INTERNALIZE_AT_LINK",
30+
"SWIFT_FEATURE_LAYERING_CHECK_SWIFT",
3031
"SWIFT_FEATURE_OPT_USES_CMO",
3132
"SWIFT_FEATURE__SUPPORTS_V6",
3233
)
@@ -277,6 +278,7 @@ def default_features_for_toolchain(ctx, target_triple):
277278
SWIFT_FEATURE_ENABLE_BARE_SLASH_REGEX,
278279
SWIFT_FEATURE_ENABLE_BATCH_MODE,
279280
SWIFT_FEATURE_INTERNALIZE_AT_LINK,
281+
SWIFT_FEATURE_LAYERING_CHECK_SWIFT,
280282
]
281283

282284
# Apple specific features

0 commit comments

Comments
 (0)