mirror of https://github.com/bazelbuild/rules_cc
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:
parent
c8c38f8c71
commit
f1f29d6ae9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue