-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update toolchains support for latest rules_apple and transitions (#848)
Prepares our mac and xplat toolchains for Bazel 7 Changes: - Replace usage of `"@bazel_tools//tools/cpp:current_cc_toolchain"` with `"@build_bazel_rules_apple//apple:default_cc_toolchain_forwarder"` - Rename `_toolchain` to `_mac_toolchain`, this matches rules_apple and better represents that the toolchain is for the host platform - Add `cfg = "exec"` to the mac and xplat toolchains - This is required to fix toolchain resolution errors on Bazel 7. These toolchains are for the host and so `exec` is correct here. This is the same cfg they use in rules_apple
- Loading branch information
1 parent
005c2b3
commit 5dccf6c
Showing
4 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters