Register cc toolchain from @bazel_tools

The one located in rules_cc isn't yet in sync.
This commit is contained in:
Yun Peng 2023-09-19 09:57:24 +02:00 committed by GitHub
parent eef16ef276
commit 009750537d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

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