rules_cc icon indicating copy to clipboard operation
rules_cc copied to clipboard

Rules_cc 0.0.9 does not contain a toolchain for cpu 'darwin_arm64'

Open toandaominh1997 opened this issue 8 months ago • 0 comments

Description of the problem / feature request:

I meet this issue when upgrading to rules_cc 0.0.9

2023/10/15 02:39:22 Downloading https://releases.bazel.build/6.3.2/release/bazel-6.3.2-darwin-arm64...
INFO: --discard_analysis_cache was used in the previous build, discarding analysis cache.
ERROR: /private/var/tmp/_bazel_henry/5caf9eb8b20f26ac3f1864ea5aec3133/external/local_config_cc/BUILD:48:19: in cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'darwin_arm64'
ERROR: /private/var/tmp/_bazel_henry/5caf9eb8b20f26ac3f1864ea5aec3133/external/local_config_cc/BUILD:48:19: Analysis of target '@local_config_cc//:toolchain' failed
ERROR: Analysis of target '//common/main/rust/core/utils:client' failed; build aborted:
INFO: Elapsed time: 1.043s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (130 packages loaded, 831 targets \
configured)
    currently loading: @crate_index__time-0.3.22// ... (6 packages)

I run on Mac M1. It seems like the toolchain of local_config_cc is missing darwin_arm64. Please help me solve this issue.

toandaominh1997 avatar Oct 14 '23 19:10 toandaominh1997