File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ build --compilation_mode opt
1111common --override_module=semmle_code=%workspace%/misc/bazel/semmle_code_stub
1212
1313build --repo_env=CC=clang --repo_env=CXX=clang++
14+
15+ # Set a macOS deployment target for both target and exec configurations so
16+ # that the hermetic Swift toolchain used by //unified/swift-syntax-rs (and
17+ # its `swift-syntax` dependency) compiles. Without this, `swiftc` is
18+ # invoked without a deployment target and fails with
19+ # "Swift requires a minimum deployment target of macOS 10.9.0" on recent
20+ # macOS versions. 10.15 matches swift-syntax's declared minimum platform.
21+ build:macos --macos_minimum_os=10.15
22+ build:macos --host_macos_minimum_os=10.15
1423# Disable Android SDK auto-detection (we don't use it, and rules_android has Bazel 9 compatibility issues)
1524build --repo_env=ANDROID_HOME=
1625
You can’t perform that action at this time.
0 commit comments