From 009750537dea581a56ce0b8301a1e9544b9cb252 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Tue, 19 Sep 2023 09:57:24 +0200 Subject: [PATCH] Register cc toolchain from @bazel_tools The one located in rules_cc isn't yet in sync. --- MODULE.bazel | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index eee8ed8..fd9ee02 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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)