From affb25dac8ec605e58604426d053415d4d7d636e Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Thu, 5 Dec 2024 13:26:51 +0100 Subject: [PATCH] Upgrade rules_cc and use local_config_cc from it --- MODULE.bazel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index ab50c94a..02498290 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -12,14 +12,14 @@ module( bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "apple_support", version = "1.15.1") -bazel_dep(name = "rules_cc", version = "0.0.9") +bazel_dep(name = "rules_cc", version = "0.1.0") bazel_dep(name = "abseil-cpp", version = "20240116.2") bazel_dep(name = "rules_python", version = "0.33.2") bazel_dep(name = "pybind11_bazel", version = "2.12.0") # This is a temporary hack for `x64_x86_windows`. # TODO(junyer): Remove whenever no longer needed. -cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension") +cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension", dev_dependency = True) use_repo(cc_configure, "local_config_cc") # These dependencies will be ignored when the `re2` module is not