@@ -13,26 +13,32 @@ I currently recommend that you install [multirust][multirust] and then use it to
1313install the current rustc nightly version that works with Miri:
1414
1515``` sh
16- multirust update nightly-2016-04-05
16+ multirust update nightly-2016-04-11
1717```
1818
1919## Build
2020
2121``` sh
22- multirust run nightly-2016-04-05 cargo build
22+ multirust run nightly-2016-04-11 cargo build
2323```
2424
2525## Run a test
2626
2727``` sh
28- multirust run nightly-2016-04-05 cargo run -- \
29- --sysroot $HOME /.multirust/toolchains/nightly-2016-04-05 \
28+ multirust run nightly-2016-04-11 cargo run -- \
29+ --sysroot $HOME /.multirust/toolchains/nightly-2016-04-11 \
3030 test/filename.rs
3131```
3232
33- If you installed without using multirust, you'll need to adjust the command to
34- run your cargo and set the ` sysroot ` to the directory where your rust compiler
35- is installed (` $sysroot/bin/rustc ` should be a valid path).
33+ If you are using [ rustup] [ rustup ] (the name of the multirust rewrite in Rust),
34+ the ` sysroot ` path will also include your build target (e.g.
35+ ` $HOME/.multirust/toolchains/nightly-2016-04-11-x86_64-apple-darwin ` ). You can
36+ see the current toolchain's directory by running ` rustup which cargo ` (ignoring
37+ the trailing `/bin/cargo).
38+
39+ If you installed without using multirust or rustup, you'll need to adjust the
40+ command to run your cargo and set the ` sysroot ` to the directory where your
41+ Rust compiler is installed (` $sysroot/bin/rustc ` should be a valid path).
3642
3743## License
3844
@@ -52,3 +58,4 @@ additional terms or conditions.
5258[ mir ] : https://github.com/rust-lang/rfcs/blob/master/text/1211-mir.md
5359[ usask ] : https://www.usask.ca/
5460[ multirust ] : https://github.com/brson/multirust
61+ [ rustup ] : https://www.rustup.rs
0 commit comments