Skip to content

Commit 29eb232

Browse files
PiotrSikoraDavid Freese
and
David Freese
authored
Update commit and versions in the documentation. (#491)
Signed-off-by: Piotr Sikora <[email protected]> Co-authored-by: David Freese <[email protected]>
1 parent fb6460c commit 29eb232

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1919

2020
http_archive(
2121
name = "io_bazel_rules_rust",
22-
sha256 = "618cba29165b7a893960de7bc48510b0fb182b21a4286e1d3dbacfef89ace906",
23-
strip_prefix = "rules_rust-5998baf9016eca24fafbad60e15f4125dd1c5f46",
22+
sha256 = "b5d4d1c7609714dfef821355f40353c58aa1afb3803401b3442ed2355db9b0c7",
23+
strip_prefix = "rules_rust-8d2b4eeeff9dce24f5cbb36018f2d60ecd676639",
2424
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",
2727
],
2828
)
2929

@@ -55,19 +55,19 @@ You can also browse the [full API in one page](flatten.md).
5555
To build with a particular version of the Rust compiler, pass that version to [`rust_repositories`](flatten.md#rust_repositories):
5656

5757
```python
58-
rust_repositories(version = "1.42.0", edition="2018")
58+
rust_repositories(version = "1.47.0", edition="2018")
5959
```
6060

6161
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:
6262

6363
```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")
6565
```
6666

6767
Similarly, `rustfmt_version` may also be configured:
6868

6969
```python
70-
rust_repositories(rustfmt_version = "1.4.8")
70+
rust_repositories(rustfmt_version = "1.4.20")
7171
```
7272

7373
## External Dependencies

0 commit comments

Comments
 (0)