File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
# https://github.com/bazelbuild/rules_rust/pull/1315
2
-
3
2
diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl
4
- index 6cdbefeb..284d4afa 100644
3
+ index bfd96ed9..d7e38658 100644
5
4
--- a/rust/private/rustc.bzl
6
5
+++ b/rust/private/rustc.bzl
7
- @@ -1024 ,7 +1024 ,7 @@ def rustc_compile_action(
8
- ),
9
- ]
10
-
6
+ @@ -1507 ,7 +1507 ,7 @@ def rustc_compile_action(
7
+ })
8
+ crate_info = rust_common.create_crate_info(**crate_info_dict)
9
+
11
10
- if crate_info.type in ["staticlib", "cdylib"]:
12
11
+ if crate_info.type in ["staticlib", "cdylib"] and not out_binary:
13
12
# These rules are not supposed to be depended on by other rust targets, and
Original file line number Diff line number Diff line change @@ -90,17 +90,19 @@ def proxy_wasm_cpp_host_repositories():
90
90
url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz" ,
91
91
)
92
92
93
+ # Keep at 0.42 one because https://github.com/bazelbuild/rules_rust/issues/2665
94
+ # manifests at 0.43
93
95
maybe (
94
96
http_archive ,
95
97
name = "rules_rust" ,
96
- sha256 = "e3fe2a255589d128c5e59e407ee57c832533f25ce14cc23605d368cf507ce08d" ,
97
- strip_prefix = "rules_rust-0.24.1" ,
98
+ integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=" ,
98
99
# NOTE: Update Rust version in bazel/dependencies.bzl.
99
- url = "https://github.com/bazelbuild/rules_rust/archive/0.24 .1.tar.gz" ,
100
+ url = "https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42 .1.tar.gz" ,
100
101
patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch" ],
101
102
patch_args = ["-p1" ],
102
103
)
103
104
105
+
104
106
# Core deps. Keep them updated.
105
107
106
108
# Note: we depend on Abseil via rules_fuzzing. Remove this pin when we update that.
You can’t perform that action at this time.
0 commit comments