File tree 3 files changed +22
-5
lines changed
3 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def proxy_wasm_cpp_host_dependencies():
34
34
"wasm32-unknown-unknown" ,
35
35
"wasm32-wasi" ,
36
36
],
37
- version = "1.60.0 " ,
37
+ version = "1.62.1 " ,
38
38
)
39
39
rust_repository_set (
40
40
name = "rust_linux_s390x" ,
@@ -43,7 +43,7 @@ def proxy_wasm_cpp_host_dependencies():
43
43
"wasm32-unknown-unknown" ,
44
44
"wasm32-wasi" ,
45
45
],
46
- version = "1.60.0 " ,
46
+ version = "1.62.1 " ,
47
47
)
48
48
49
49
zig_register_toolchains (
Original file line number Diff line number Diff line change
1
+ # https://github.com/bazelbuild/rules_rust/pull/1315
2
+
3
+ diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl
4
+ index 6cdbefeb..284d4afa 100644
5
+ --- a/rust/private/rustc.bzl
6
+ +++ b/rust/private/rustc.bzl
7
+ @@ -1024,7 +1024,7 @@ def rustc_compile_action(
8
+ ),
9
+ ]
10
+
11
+ - if crate_info.type in ["staticlib", "cdylib"]:
12
+ + if crate_info.type in ["staticlib", "cdylib"] and not out_binary:
13
+ # These rules are not supposed to be depended on by other rust targets, and
14
+ # as such they shouldn't provide a CrateInfo. However, one may still want to
15
+ # write a rust_test for them, so we provide the CrateInfo wrapped in a provider
Original file line number Diff line number Diff line change @@ -66,10 +66,12 @@ def proxy_wasm_cpp_host_repositories():
66
66
maybe (
67
67
http_archive ,
68
68
name = "rules_rust" ,
69
- sha256 = "0c57c91a20df12d2b1e5db6c58fd6df21bce0c73940eeafbcb87761c14c28878 " ,
70
- strip_prefix = "rules_rust-0.3 .1" ,
69
+ sha256 = "f3d443e9ad1eca99fbcade1c649adbd8200753cf22e47846b3105a43a550273b " ,
70
+ strip_prefix = "rules_rust-0.8 .1" ,
71
71
# NOTE: Update Rust version in bazel/dependencies.bzl.
72
- url = "https://github.com/bazelbuild/rules_rust/archive/0.3.1.tar.gz" ,
72
+ url = "https://github.com/bazelbuild/rules_rust/archive/0.8.1.tar.gz" ,
73
+ patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch" ],
74
+ patch_args = ["-p1" ],
73
75
)
74
76
75
77
# Core.
You can’t perform that action at this time.
0 commit comments