Skip to content

Commit f45a5b1

Browse files
committed
Auto merge of rust-lang#3290 - tv42:master, r=saethlin
Stop recommending cargo clean in README Miri has used the `target/miri` subdirectory since 2021 to keep itself separate from non-miri builds, so this should not be necessary. See commit 6a18683 Since the items are no longer a sequence of steps to do in order ("first, make sure that ..."), switch to an unordered list while we're at it. Closes rust-lang#3289
2 parents 0602b13 + 5587a37 commit f45a5b1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/tools/miri/README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ assume the right toolchain is pinned via `rustup override set nightly` or
108108

109109
Now you can run your project in Miri:
110110

111-
1. Run `cargo clean` to eliminate any cached dependencies. Miri needs your
112-
dependencies to be compiled the right way, that would not happen if they have
113-
previously already been compiled.
114-
2. To run all tests in your project through Miri, use `cargo miri test`.
115-
3. If you have a binary project, you can run it through Miri using `cargo miri run`.
111+
- To run all tests in your project through Miri, use `cargo miri test`.
112+
- If you have a binary project, you can run it through Miri using `cargo miri run`.
116113

117114
The first time you run Miri, it will perform some extra setup and install some
118115
dependencies. It will ask you for confirmation before installing anything.

0 commit comments

Comments
 (0)