Skip to content

Commit e589105

Browse files
authored
Updated rules_cc and rules_proto (#945)
1 parent 5c09f01 commit e589105

File tree

5 files changed

+8
-32
lines changed

5 files changed

+8
-32
lines changed

proto/patches/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ package(default_visibility = ["//visibility:public"])
22

33
exports_files([
44
"com_google_protobuf-v3.10.0-bzl_visibility.patch",
5-
"rules_proto-bzl_visibility.patch",
65
])

proto/patches/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# @rules_rust//proto patches
22

3-
The patches here provide the required visibility to `*.bzl` files used by the rules defined in `@rules_rust//proto`.
3+
The patches here provide the required visibility to `*.bzl` files used by the rules defined in `com_google_protobuf`.

proto/patches/rules_proto-bzl_visibility.patch

Lines changed: 0 additions & 19 deletions
This file was deleted.

proto/repositories.bzl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ def rust_proto_repositories(register_default_toolchain = True):
2929
maybe(
3030
http_archive,
3131
name = "rules_proto",
32-
sha256 = "bc12122a5ae4b517fa423ea03a8d82ea6352d5127ea48cb54bc324e8ab78493c",
33-
strip_prefix = "rules_proto-af6481970a34554c6942d993e194a9aed7987780",
32+
sha256 = "66bfdf8782796239d3875d37e7de19b1d94301e8972b3cbd2446b332429b4df1",
33+
strip_prefix = "rules_proto-4.0.0",
3434
urls = [
35-
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/af6481970a34554c6942d993e194a9aed7987780.tar.gz",
36-
"https://github.com/bazelbuild/rules_proto/archive/af6481970a34554c6942d993e194a9aed7987780.tar.gz",
37-
],
38-
patch_args = ["-p1"],
39-
patches = [
40-
Label("//proto/patches:rules_proto-bzl_visibility.patch"),
35+
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
36+
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/4.0.0.tar.gz",
4137
],
4238
)
4339

rust/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ def rust_repositories(
7979
maybe(
8080
http_archive,
8181
name = "rules_cc",
82-
url = "https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.zip",
83-
sha256 = "8c7e8bf24a2bf515713445199a677ee2336e1c487fa1da41037c6026de04bbc3",
84-
strip_prefix = "rules_cc-624b5d59dfb45672d4239422fa1e3de1822ee110",
82+
url = "https://github.com/bazelbuild/rules_cc/archive/dd2758b96dc8f9f4add81eaa4154b7e3d8be6873.zip",
83+
sha256 = "4e14abe3f288b5ae31eee4dc68472bfcd8d59a0bb1be91dd2c6bfa8af56baf19",
84+
strip_prefix = "rules_cc-dd2758b96dc8f9f4add81eaa4154b7e3d8be6873",
8585
type = "zip",
8686
)
8787

0 commit comments

Comments
 (0)