@@ -19,11 +19,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
19
19
20
20
http_archive(
21
21
name = " io_bazel_rules_rust" ,
22
- sha256 = " 618cba29165b7a893960de7bc48510b0fb182b21a4286e1d3dbacfef89ace906 " ,
23
- strip_prefix = " rules_rust-5998baf9016eca24fafbad60e15f4125dd1c5f46 " ,
22
+ sha256 = " b5d4d1c7609714dfef821355f40353c58aa1afb3803401b3442ed2355db9b0c7 " ,
23
+ strip_prefix = " rules_rust-8d2b4eeeff9dce24f5cbb36018f2d60ecd676639 " ,
24
24
urls = [
25
- # Master branch as of 2020-09-24
26
- " https://github.com/bazelbuild/rules_rust/archive/5998baf9016eca24fafbad60e15f4125dd1c5f46 .tar.gz" ,
25
+ # Master branch as of 2020-11-10
26
+ " https://github.com/bazelbuild/rules_rust/archive/8d2b4eeeff9dce24f5cbb36018f2d60ecd676639 .tar.gz" ,
27
27
],
28
28
)
29
29
@@ -55,19 +55,19 @@ You can also browse the [full API in one page](flatten.md).
55
55
To build with a particular version of the Rust compiler, pass that version to [ ` rust_repositories ` ] ( flatten.md#rust_repositories ) :
56
56
57
57
``` python
58
- rust_repositories(version = " 1.42 .0" , edition = " 2018" )
58
+ rust_repositories(version = " 1.47 .0" , edition = " 2018" )
59
59
```
60
60
61
61
As well as an exact version, ` version ` can be set to ` "nightly" ` or ` "beta" ` . If set to these values, ` iso_date ` must also be set:
62
62
63
63
``` python
64
- rust_repositories(version = " nightly" , iso_date = " 2020-04-19 " , edition = " 2018" )
64
+ rust_repositories(version = " nightly" , iso_date = " 2020-11-10 " , edition = " 2018" )
65
65
```
66
66
67
67
Similarly, ` rustfmt_version ` may also be configured:
68
68
69
69
``` python
70
- rust_repositories(rustfmt_version = " 1.4.8 " )
70
+ rust_repositories(rustfmt_version = " 1.4.20 " )
71
71
```
72
72
73
73
## External Dependencies
0 commit comments