Skip to content

Commit de5c1f7

Browse files
authored
bazel: drop --swiftcopt/--host_swiftcopt flag aliases (no longer used)
1 parent 86bcb72 commit de5c1f7

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

.bazelrc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
1212

1313
build --repo_env=CC=clang --repo_env=CXX=clang++
1414

15-
# Register the `--swiftcopt` / `--host_swiftcopt` command-line shortcuts.
16-
#
17-
# rules_swift defines these as `--flag_alias` entries in its own `.bazelrc`,
18-
# which Bazel does *not* load for consumer modules. Without registering them
19-
# here, any use of `--swiftcopt=...` (including via `build:macos` below) fails
20-
# with "Unrecognized option: --swiftcopt".
21-
common --flag_alias=swiftcopt=@rules_swift//swift:copt
22-
common --flag_alias=host_swiftcopt=@rules_swift//swift:exec_copt
23-
2415
# Point Bazel at `apple_support`'s xcode_config on macOS.
2516
#
2617
# `xcode_swift_toolchain` pulls in `@system_sdk//:{all_modules,implicit_modules}`,

0 commit comments

Comments
 (0)