build: Update rules_cc
Updates rules_cc to the 0.0.10 release to support the migration to
rules_cc toolchains.
Bug: b/346388161
Change-Id: Ie7d56349bade4a55dd7f3832fad45398d8d0076d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/236515
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 6c7ab0d..849f519 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -22,7 +22,7 @@
bazel_dep(name = "pigweed")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "pw_toolchain")
-bazel_dep(name = "rules_cc")
+bazel_dep(name = "rules_cc", version = "0.0.10")
bazel_dep(name = "rules_platform", version = "0.1.0")
bazel_dep(name = "rules_python", version = "0.35.0")
@@ -65,18 +65,6 @@
strip_prefix = "pw_toolchain_bazel",
)
-# TODO: https://pwbug.dev/258836641 - Pre-release version needed for the Pico
-# SDK. Remove this once rules_cc 0.10.0 is released and the Pico SDK
-# MODULE.bazel declares its dependency on it.
-archive_override(
- module_name = "rules_cc",
- integrity = "sha256-NddP6xi6LzsIHT8bMSVJ2NtoURbN+l3xpjvmIgB6aSg=",
- strip_prefix = "rules_cc-1acf5213b6170f1f0133e273cb85ede0e732048f",
- urls = [
- "https://github.com/bazelbuild/rules_cc/archive/1acf5213b6170f1f0133e273cb85ede0e732048f.zip",
- ],
-)
-
http_archive = use_repo_rule(
"@bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive",