From 9bccc514d734c76914337ff034e9280aece29ea5 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 16 Oct 2023 01:00:25 +0700 Subject: [PATCH] Update rules_cc to 0.0.9 (#2201) Update rules_cc to 0.0.9 which has not been upgraded for a long time --- MODULE.bazel | 2 +- rust/repositories.bzl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index ad73e240c2..f7b48cdd83 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -6,7 +6,7 @@ module( print("WARNING: The rules_rust Bazel module is still highly experimental and subject to change at any time. Only use it to try out bzlmod for now.") # buildifier: disable=print bazel_dep(name = "platforms", version = "0.0.7") -bazel_dep(name = "rules_cc", version = "0.0.1") +bazel_dep(name = "rules_cc", version = "0.0.9") bazel_dep(name = "bazel_skylib", version = "1.2.0") bazel_dep(name = "apple_support", version = "1.3.1") diff --git a/rust/repositories.bzl b/rust/repositories.bzl index a083a29d83..7e2082ee3b 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -60,8 +60,9 @@ def rules_rust_dependencies(): maybe( http_archive, name = "rules_cc", - urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.1/rules_cc-0.0.1.tar.gz"], - sha256 = "4dccbfd22c0def164c8f47458bd50e0c7148f3d92002cdb459c2a96a68498241", + urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"], + sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf", + strip_prefix = "rules_cc-0.0.9", ) maybe(