@@ -12,25 +12,6 @@ common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
1212
1313build --repo_env=CC=clang --repo_env=CXX=clang++
1414
15- # macOS Xcode-coupled flags, kept as an opt-in `--config=swift_macos` for
16- # manual debugging. The equivalent flags are applied automatically — but
17- # only to `//unified/swift-syntax-rs` targets — via an incoming-edge
18- # Starlark transition (see `unified/swift-syntax-rs/xcode_transition.bzl`),
19- # so other macOS builds continue to use Bazel's built-in `local_config_cc`
20- # and never materialize the `@local_config_xcode` /
21- # `@local_config_apple_cc_toolchains` repos.
22- #
23- # - `--xcode_version_config` selects `apple_support`'s xcode_config, whose
24- # version strings match the ones `rules_swift`'s `system_sdk` selects are
25- # keyed on (Bazel's built-in `host_xcodes` does not match).
26- # - `--extra_toolchains` forces `apple_support`'s CC toolchain ahead of
27- # Bazel's built-in `local_config_cc` (whose `target_gnu_system_name` is
28- # literally "local", which breaks `xcode_swift_toolchain`'s triple
29- # parsing). Root-level `--extra_toolchains` beats module-registered
30- # toolchains; only matches Apple platforms.
31- build:swift_macos --xcode_version_config=@local_config_xcode//:host_xcodes
32- build:swift_macos --extra_toolchains=@local_config_apple_cc_toolchains//:all
33-
3415# Disable Android SDK auto-detection (we don't use it, and rules_android has Bazel 9 compatibility issues)
3516build --repo_env=ANDROID_HOME=
3617
0 commit comments