Remove cc toolchain registration from rules_cc in MODULE.bazel

The same toolchain is registered by `@bazel_tools` already, we should not register it again to prevent competing with the apple cc toolchain from `apple_support`.
This commit is contained in:
Yun Peng 2023-09-21 10:04:08 +02:00 committed by GitHub
parent c8c38f8c71
commit f1f29d6ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -6,9 +6,4 @@ module(
bazel_dep(name = "platforms", version = "0.0.7") bazel_dep(name = "platforms", version = "0.0.7")
cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc_toolchains")
register_toolchains("@local_config_cc_toolchains//:all")
bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True) bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True)