Skip to content

Commit cbf6320

Browse files
committed
Address review comments
Simplify action configuration.
1 parent 2b542bf commit cbf6320

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

swift/internal/compiling.bzl

+1-7
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,7 @@ def compile_action_configs(
262262
configurators = [
263263
swift_toolchain_config.add_arg("-emit-bc"),
264264
],
265-
features = [
266-
[SWIFT_FEATURE_EMIT_BC],
267-
[SWIFT_FEATURE_FULL_LTO],
268-
[SWIFT_FEATURE_THIN_LTO],
269-
],
265+
features = [SWIFT_FEATURE_EMIT_BC],
270266
),
271267

272268
# Add the single object file or object file map, whichever is needed.
@@ -414,15 +410,13 @@ def compile_action_configs(
414410
swift_toolchain_config.add_arg("-lto=llvm-thin"),
415411
],
416412
features = [SWIFT_FEATURE_THIN_LTO],
417-
not_features = [SWIFT_FEATURE_FULL_LTO],
418413
),
419414
swift_toolchain_config.action_config(
420415
actions = [swift_action_names.COMPILE],
421416
configurators = [
422417
swift_toolchain_config.add_arg("-lto=llvm-full"),
423418
],
424419
features = [SWIFT_FEATURE_FULL_LTO],
425-
not_features = [SWIFT_FEATURE_THIN_LTO],
426420
),
427421
]
428422

0 commit comments

Comments
 (0)