Skip to content

Commit 0763763

Browse files
committed
fix: downgrade rules_cc to 0.2.11
Otherwise, need to manually load `cc_compatibility_proxy`. I don't want to bother with it at the moment. Let the users do the job if they need newer version.
1 parent 181c350 commit 0763763

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module(
66

77
bazel_dep(name = "bazel_skylib", version = "1.4.2")
88
bazel_dep(name = "platforms", version = "0.0.6")
9-
bazel_dep(name = "rules_cc", version = "0.2.14")
9+
bazel_dep(name = "rules_cc", version = "0.2.11")
1010

1111
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
1212
cuda.toolkit(

cuda/private/repositories.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,11 +484,11 @@ def rules_cuda_dependencies():
484484
maybe(
485485
name = "rules_cc",
486486
repo_rule = http_archive,
487-
sha256 = "a2fdfde2ab9b2176bd6a33afca14458039023edb1dd2e73e6823810809df4027",
488-
strip_prefix = "rules_cc-0.2.14",
487+
sha256 = "5287821524d1c1d20f1c0ffa90bd2c2d776473dd8c84dafa9eb783150286d825",
488+
strip_prefix = "rules_cc-0.2.11",
489489
urls = [
490-
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/releases/download/0.2.14/rules_cc-0.2.14.tar.gz",
491-
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.14/rules_cc-0.2.14.tar.gz",
490+
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/releases/download/0.2.11/rules_cc-0.2.11.tar.gz",
491+
"https://github.com/bazelbuild/rules_cc/releases/download/0.2.11/rules_cc-0.2.11.tar.gz",
492492
],
493493
)
494494

examples/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module(
44
compatibility_level = 1,
55
)
66

7-
bazel_dep(name = "rules_cc", version = "0.2.14")
7+
bazel_dep(name = "rules_cc", version = "0.2.11")
88
bazel_dep(name = "rules_cuda", version = "0.2.3")
99
local_path_override(
1010
module_name = "rules_cuda",

0 commit comments

Comments
 (0)