Skip to content

Commit b87a795

Browse files
derekmaurocopybara-github
authored andcommitted
Downgrade to rules_cc 0.0.17 because 0.1.0 was yanked
Note that the error message says downgrade to 0.0.15, but I'm not sure why. 0.0.17 is the latest. ``` ERROR: Error computing the main repository mapping: Yanked version detected in your resolved dependency graph: [email protected], for the reason: rules_cc 0.1.0 is yanked due to incompatible change (prematurely removing cc_proto_library from defs.bzl), please downgrade to 0.0.15. ``` PiperOrigin-RevId: 716675841 Change-Id: I459c35186161cc3d10b8c38973041d9a592c7cec
1 parent a4e7719 commit b87a795

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use_repo(cc_configure, "local_config_cc")
2828
# Only direct dependencies need to be listed below.
2929
# Please keep the versions in sync with the versions in the WORKSPACE file.
3030

31-
bazel_dep(name = "rules_cc", version = "0.1.0")
31+
bazel_dep(name = "rules_cc", version = "0.0.17")
3232
bazel_dep(name = "bazel_skylib", version = "1.7.1")
3333
bazel_dep(name = "platforms", version = "0.0.10")
3434

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ http_archive(
6060
# C++ rules for Bazel
6161
http_archive(
6262
name = "rules_cc",
63-
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.0/rules_cc-0.1.0.tar.gz"],
64-
sha256 = "4b12149a041ddfb8306a8fd0e904e39d673552ce82e4296e96fac9cbf0780e59",
65-
strip_prefix = "rules_cc-0.1.0",
63+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.17/rules_cc-0.0.17.tar.gz"],
64+
sha256 = "abc605dd850f813bb37004b77db20106a19311a96b2da1c92b789da529d28fe1",
65+
strip_prefix = "rules_cc-0.0.17",
6666
)
6767

6868
# Bazel platform rules.

0 commit comments

Comments
 (0)