File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ SWIFT_FEATURE_MODULAR_INDEXING = "swift.modular_indexing"
9494# If enabled, when compiling an explicit C or Objectve-C module, every header
9595# included by the module being compiled must belong to one of the modules listed
9696# in its dependencies. This is ignored for system modules.
97- SWIFT_FEATURE_LAYERING_CHECK = "swift.layering_check"
9897SWIFT_FEATURE_LAYERING_CHECK_FOR_C_DEPS = "swift.layering_check_for_c_deps"
9998
10099# If enabled, an error will be emitted when compiling Swift code if it imports
Original file line number Diff line number Diff line change 5151 "SWIFT_FEATURE_INDEX_SYSTEM_MODULES" ,
5252 "SWIFT_FEATURE_INDEX_WHILE_BUILDING" ,
5353 "SWIFT_FEATURE_INTERNALIZE_AT_LINK" ,
54- "SWIFT_FEATURE_LAYERING_CHECK" ,
5554 "SWIFT_FEATURE_LAYERING_CHECK_FOR_C_DEPS" ,
5655 "SWIFT_FEATURE_LAYERING_CHECK_SWIFT" ,
5756 "SWIFT_FEATURE_MODULAR_INDEXING" ,
@@ -556,8 +555,7 @@ def compile_action_configs(
556555 ActionConfigInfo (
557556 actions = [SWIFT_ACTION_PRECOMPILE_C_MODULE ],
558557 configurators = [_c_layering_check_configurator ],
559- # We require both so turning off either during the migration will disable this.
560- features = [SWIFT_FEATURE_LAYERING_CHECK , SWIFT_FEATURE_LAYERING_CHECK_FOR_C_DEPS ],
558+ features = [SWIFT_FEATURE_LAYERING_CHECK_FOR_C_DEPS ],
561559 not_features = [SWIFT_FEATURE_SYSTEM_MODULE ],
562560 ),
563561 ActionConfigInfo (
You can’t perform that action at this time.
0 commit comments