Skip to content

Commit 8c13a9c

Browse files
committed
clarify how to run the manually installed Miri
1 parent 3b1eeab commit 8c13a9c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ install that exact version of rustc as a toolchain:
2828
This will set up a rustup toolchain called `miri` and set it as an override for
2929
the current directory.
3030

31-
If you want to also have `clippy` installed, you need to run this:
32-
```
33-
./rustup-toolchain "" -c clippy
34-
```
35-
3631
[`rustup-toolchain-install-master`]: https://github.com/kennytm/rustup-toolchain-install-master
3732

3833
## Building and testing Miri
@@ -131,6 +126,8 @@ development version of Miri using
131126

132127
and then you can use it as if it was installed by `rustup`. Make sure you use
133128
the same toolchain when calling `cargo miri` that you used when installing Miri!
129+
Usually this means you have to write `cargo +miri miri ...` to select the `miri`
130+
toolchain that was installed by `./rustup-toolchain`.
134131

135132
There's a test for the cargo wrapper in the `test-cargo-miri` directory; run
136133
`./run-test.py` in there to execute it. Like `./miri test`, this respects the

0 commit comments

Comments
 (0)