Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
toandaominh1997 opened this issue Oct 14, 2023 · 1 comment
Labels
P3 Accepted issue. Team is likely to fix this issue in the future, but no short-term promises are made. type: feature request Request for new, generally useful functionality that is missing

Comments

@toandaominh1997
Copy link

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.

@comius comius added type: feature request Request for new, generally useful functionality that is missing P3 Accepted issue. Team is likely to fix this issue in the future, but no short-term promises are made. labels Dec 27, 2023
@com6056
Copy link

com6056 commented Jul 2, 2024

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Accepted issue. Team is likely to fix this issue in the future, but no short-term promises are made. type: feature request Request for new, generally useful functionality that is missing
Projects
None yet
Development

No branches or pull requests

3 participants