Skip to content

Commit 4b9d141

Browse files
committed
Readme: Newer Nightly Version, Mention Rustup
1 parent 6abfa56 commit 4b9d141

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

+14-7
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,32 @@ I currently recommend that you install [multirust][multirust] and then use it to
1010
install the current rustc nightly version that works with Miri:
1111

1212
```sh
13-
multirust update nightly-2016-04-05
13+
multirust update nightly-2016-04-11
1414
```
1515

1616
## Build
1717

1818
```sh
19-
multirust run nightly-2016-04-05 cargo build
19+
multirust run nightly-2016-04-11 cargo build
2020
```
2121

2222
## Run a test
2323

2424
```sh
25-
multirust run nightly-2016-04-05 cargo run -- \
26-
--sysroot $HOME/.multirust/toolchains/nightly-2016-04-05 \
25+
multirust run nightly-2016-04-11 cargo run -- \
26+
--sysroot $HOME/.multirust/toolchains/nightly-2016-04-11 \
2727
test/filename.rs
2828
```
2929

30-
If you installed without using multirust, you'll need to adjust the command to
31-
run your cargo and set the `sysroot` to the directory where your rust compiler
32-
is installed (`$sysroot/bin/rustc` should be a valid path).
30+
If you are using [rustup][rustup] (the name of the multirust rewrite in Rust),
31+
the `sysroot` path will also include your build target (e.g.
32+
`$HOME/.multirust/toolchains/nightly-2016-04-11-x86_64-apple-darwin`). You can
33+
see the current toolchain's directory by running `rustup which cargo` (ignoring
34+
the trailing `/bin/cargo).
35+
36+
If you installed without using multirust or rustup, you'll need to adjust the
37+
command to run your cargo and set the `sysroot` to the directory where your
38+
Rust compiler is installed (`$sysroot/bin/rustc` should be a valid path).
3339

3440
## License
3541

@@ -49,3 +55,4 @@ additional terms or conditions.
4955
[mir]: https://github.com/rust-lang/rfcs/blob/master/text/1211-mir.md
5056
[usask]: https://www.usask.ca/
5157
[multirust]: https://github.com/brson/multirust
58+
[rustup]: https://www.rustup.rs

0 commit comments

Comments
 (0)