diff --git a/BUILD b/BUILD index 9755266022..d1afba2a22 100644 --- a/BUILD +++ b/BUILD @@ -483,6 +483,6 @@ platform( constraint_values = [ "@platforms//cpu:x86_64", "@platforms//os:windows", - "@bazel_tools//tools/cpp:clang-cl", + "@rules_cc//cc/private/toolchain:clang-cl", ], ) diff --git a/MODULE.bazel b/MODULE.bazel index ccaa025a58..aeb973b8de 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -69,7 +69,7 @@ archive_override( bazel_dep(name = "prometheus-cpp", version = "1.3.0") use_repo( - use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension"), + use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension"), "local_config_cc", ) diff --git a/x/MODULE.bazel b/x/MODULE.bazel index 452df7241a..6fa699a99a 100644 --- a/x/MODULE.bazel +++ b/x/MODULE.bazel @@ -73,7 +73,7 @@ archive_override( bazel_dep(name = "prometheus-cpp", version = "1.3.0") use_repo( - use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension"), + use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension"), "local_config_cc", )