rules_cc@0.2.9 (#6076)
Release: https://github.com/bazelbuild/rules_cc/releases/tag/0.2.9
_Automated by [Publish to
BCR](https://github.com/bazel-contrib/publish-to-bcr)_
Co-authored-by: comius <1796240+comius@users.noreply.github.com>
diff --git a/modules/rules_cc/0.2.9/MODULE.bazel b/modules/rules_cc/0.2.9/MODULE.bazel
new file mode 100644
index 0000000..90f7f53
--- /dev/null
+++ b/modules/rules_cc/0.2.9/MODULE.bazel
@@ -0,0 +1,34 @@
+module(
+ name = "rules_cc",
+ version = "0.2.9",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_features", version = "1.28.0")
+bazel_dep(name = "bazel_skylib", version = "1.7.1")
+bazel_dep(name = "platforms", version = "0.0.10")
+bazel_dep(name = "protobuf", version = "27.0", repo_name = "com_google_protobuf")
+
+cc_configure = use_extension("//cc:extensions.bzl", "cc_configure_extension")
+use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains")
+
+register_toolchains(
+ "@local_config_cc_toolchains//:all",
+ "//cc/private/toolchain/test:default_test_runner_toolchain",
+)
+
+bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True)
+bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
+single_version_override(
+ module_name = "googletest",
+ patch_strip = 1,
+ patches = ["//:googletest.patch"],
+ version = "1.17.0",
+)
+
+bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)
+
+# Compatibility layer
+compat = use_extension("//cc:extensions.bzl", "compatibility_proxy")
+use_repo(compat, "cc_compatibility_proxy")
diff --git a/modules/rules_cc/0.2.9/attestations.json b/modules/rules_cc/0.2.9/attestations.json
new file mode 100644
index 0000000..8584cd7
--- /dev/null
+++ b/modules/rules_cc/0.2.9/attestations.json
@@ -0,0 +1,17 @@
+{
+ "mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
+ "attestations": {
+ "source.json": {
+ "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.9/source.json.intoto.jsonl",
+ "integrity": "sha256-tYLlZZGHRx+AwJx1EpMoaSphoJVFem3qwqQrfuDsgx4="
+ },
+ "MODULE.bazel": {
+ "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.9/MODULE.bazel.intoto.jsonl",
+ "integrity": "sha256-XLJtAvIDKDZy8aaqv3bU5KBibVstOWJqKwWBuJd62k4="
+ },
+ "rules_cc-0.2.9.tar.gz": {
+ "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.9/rules_cc-0.2.9.tar.gz.intoto.jsonl",
+ "integrity": "sha256-dxrt154XCM1wvnznr2ek4IKCRFOj3rXDz7CElZ014Rg="
+ }
+ }
+}
diff --git a/modules/rules_cc/0.2.9/patches/module_dot_bazel_version.patch b/modules/rules_cc/0.2.9/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..ef4cf3f
--- /dev/null
+++ b/modules/rules_cc/0.2.9/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_cc",
+- version = "0.0.0",
++ version = "0.2.9",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_features", version = "1.28.0")
diff --git a/modules/rules_cc/0.2.9/presubmit.yml b/modules/rules_cc/0.2.9/presubmit.yml
new file mode 100644
index 0000000..b1335fb
--- /dev/null
+++ b/modules/rules_cc/0.2.9/presubmit.yml
@@ -0,0 +1,12 @@
+matrix:
+ platform: ["rockylinux8", "debian11", "macos", "macos_arm64", "ubuntu2404", "windows"]
+ bazel:
+ - 7.x
+ - 8.x
+tasks:
+ verify_targets:
+ name: "Verify build targets"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@rules_cc//cc/..."
diff --git a/modules/rules_cc/0.2.9/source.json b/modules/rules_cc/0.2.9/source.json
new file mode 100644
index 0000000..f11b558
--- /dev/null
+++ b/modules/rules_cc/0.2.9/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-ac60VLmyngq6fagcculuyv2B0gRL6IO0Y5ixx3yn//k=",
+ "strip_prefix": "rules_cc-0.2.9",
+ "url": "https://github.com/bazelbuild/rules_cc/releases/download/0.2.9/rules_cc-0.2.9.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-l+5EW5Do+6n6FC8gShnP9u7dIF+HC1cO1xbb+FIQPmk="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_cc/metadata.json b/modules/rules_cc/metadata.json
index bb0b5db..097e924 100644
--- a/modules/rules_cc/metadata.json
+++ b/modules/rules_cc/metadata.json
@@ -44,7 +44,8 @@
"0.2.5",
"0.2.6",
"0.2.7",
- "0.2.8"
+ "0.2.8",
+ "0.2.9"
],
"yanked_versions": {
"0.0.14": "rules_cc 0.0.14 is yanked due to incompatible change (prematurely removing cc_proto_library from defs.bzl), please upgrade to 0.0.15",