chore(deps): bump rules_cc to 0.1.5 (#3238)
This fixes an issue compiling protobuf on windows due to c++ 17 support.
In particular, it gets the fix in
https://github.com/bazelbuild/rules_cc/commit/c7e5c8c9b6a53695b29766f7fcfe655ef2609b1d
which adds `/std:c++17` for Window builds.
Fixes #3122
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6678148..48dd26c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -61,7 +61,7 @@
{#v0-0-0-changed}
### Changed
-* Nothing changed.
+* (deps) bumped rules_cc dependency to `0.1.5`.
{#v0-0-0-fixed}
### Fixed
diff --git a/MODULE.bazel b/MODULE.bazel
index 4f442ba..1dca3e9 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -6,7 +6,7 @@
bazel_dep(name = "bazel_features", version = "1.21.0")
bazel_dep(name = "bazel_skylib", version = "1.8.1")
-bazel_dep(name = "rules_cc", version = "0.0.16")
+bazel_dep(name = "rules_cc", version = "0.1.5")
bazel_dep(name = "platforms", version = "0.0.11")
# Those are loaded only when using py_proto_library
diff --git a/internal_dev_deps.bzl b/internal_dev_deps.bzl
index e6ade40..e1a6562 100644
--- a/internal_dev_deps.bzl
+++ b/internal_dev_deps.bzl
@@ -233,9 +233,9 @@
http_archive(
name = "rules_cc",
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16/rules_cc-0.0.16.tar.gz"],
- sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df",
- strip_prefix = "rules_cc-0.0.16",
+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz"],
+ sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6",
+ strip_prefix = "rules_cc-0.1.5",
)
http_archive(
diff --git a/python/private/py_repositories.bzl b/python/private/py_repositories.bzl
index 10bc066..c09ba68 100644
--- a/python/private/py_repositories.bzl
+++ b/python/private/py_repositories.bzl
@@ -59,9 +59,9 @@
)
http_archive(
name = "rules_cc",
- sha256 = "4b12149a041ddfb8306a8fd0e904e39d673552ce82e4296e96fac9cbf0780e59",
- strip_prefix = "rules_cc-0.1.0",
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.0/rules_cc-0.1.0.tar.gz"],
+ sha256 = "b8b918a85f9144c01f6cfe0f45e4f2838c7413961a8ff23bc0c6cdf8bb07a3b6",
+ strip_prefix = "rules_cc-0.1.5",
+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.5/rules_cc-0.1.5.tar.gz"],
)
# Needed by rules_cc, triggered by @rules_java_prebuilt in Bazel by using @rules_cc//cc:defs.bzl
diff --git a/tests/integration/local_toolchains/MODULE.bazel b/tests/integration/local_toolchains/MODULE.bazel
index 45afaaf..e81c012 100644
--- a/tests/integration/local_toolchains/MODULE.bazel
+++ b/tests/integration/local_toolchains/MODULE.bazel
@@ -16,7 +16,7 @@
bazel_dep(name = "rules_python", version = "0.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.11")
-bazel_dep(name = "rules_cc", version = "0.0.16")
+bazel_dep(name = "rules_cc", version = "0.1.5")
local_path_override(
module_name = "rules_python",