File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -1343,12 +1343,12 @@ REPOSITORY_LOCATIONS_SPEC = dict(
1343
1343
project_name = "Bazel rust rules" ,
1344
1344
project_desc = "Bazel rust rules (used by Wasm)" ,
1345
1345
project_url = "https://github.com/bazelbuild/rules_rust" ,
1346
- version = "0.3 .1" ,
1347
- sha256 = "e074f1e203607c5fcd549929d956170346f8807d2bbaeb98b2ed213c37e0870f " ,
1346
+ version = "0.8 .1" ,
1347
+ sha256 = "05e15e536cc1e5fd7b395d044fc2dabf73d2b27622fbc10504b7e48219bb09bc " ,
1348
1348
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust-v{version}.tar.gz" ],
1349
1349
use_category = ["dataplane_ext" ],
1350
1350
extensions = ["envoy.wasm.runtime.wasmtime" ],
1351
- release_date = "2022-04 -26" ,
1351
+ release_date = "2022-07 -26" ,
1352
1352
cpe = "N/A" ,
1353
1353
license = "Apache-2.0" ,
1354
1354
license_url = "https://github.com/bazelbuild/rules_rust/blob/{version}/LICENSE.txt" ,
Original file line number Diff line number Diff line change 5
5
@@ -269,6 +269,13 @@ def triple_to_constraint_set(target_triple):
6
6
"@rules_rust//rust/platform/os:unknown",
7
7
]
8
-
8
+
9
9
+ # Workaround for https://github.com/bazelbuild/bazel/issues/14982
10
10
+ if target_triple in ("armv7-linux-androideabi", "thumbv7neon-linux-androideabi"):
11
11
+ return [
14
14
+ ]
15
15
+
16
16
triple_struct = triple(target_triple)
17
-
17
+
18
18
constraint_set = []
19
+
20
+
21
+ --- rust/private/rustc.bzl
22
+ +++ rust/private/rustc.bzl
23
+ @@ -1024,7 +1024,7 @@ def rustc_compile_action(
24
+ ),
25
+ ]
26
+
27
+ - if crate_info.type in ["staticlib", "cdylib"]:
28
+ + if crate_info.type in ["staticlib", "cdylib"] and not out_binary:
29
+ # These rules are not supposed to be depended on by other rust targets, and
30
+ # as such they shouldn't provide a CrateInfo. However, one may still want to
31
+ # write a rust_test for them, so we provide the CrateInfo wrapped in a provider
You can’t perform that action at this time.
0 commit comments