Skip to content

Commit 812fd79

Browse files
committed
Auto merge of #1943 - RalfJung:readme, r=RalfJung
readme: be more explicit about the toolchain Fixes #1942 `@robamler` would this have helped?
2 parents 2373907 + db74c1c commit 812fd79

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@ rustup +nightly component add miri
8181
If `rustup` says the `miri` component is unavailable, that's because not all
8282
nightly releases come with all tools. Check out
8383
[this website](https://rust-lang.github.io/rustup-components-history) to
84-
determine a nightly version that comes with Miri and install that using
85-
`rustup toolchain install nightly-YYYY-MM-DD`.
84+
determine a nightly version that comes with Miri and install that using `rustup
85+
toolchain install nightly-YYYY-MM-DD`. Either way, all of the following commands
86+
assume the right toolchain is pinned via `rustup override set nightly` or
87+
`rustup override set nightly-YYYY-MM-DD`. (Alternatively, use `cargo
88+
+nightly`/`cargo +nightly-YYYY-MM-DD` for each of the following commands.)
8689

8790
Now you can run your project in Miri:
8891

0 commit comments

Comments
 (0)