Skip to content

Commit 31bc435

Browse files
committed
adjust README
1 parent bebb5bf commit 31bc435

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,18 @@ other projects:
120120

121121
```sh
122122
rustup component remove miri # avoid having Miri installed twice
123-
cargo +nightly install --path "$DIR" --force # or the nightly in `rust-version`
123+
cargo +nightly install --path "$DIR" --force
124124
cargo +nightly miri setup
125125
```
126126

127127
(We are giving `+nightly` explicitly here all the time because it is important
128128
that all of these commands get executed with the same toolchain.)
129129

130+
In case this fails, your nightly might be incompatible with Miri master. The
131+
`rust-version` file contains the commit hash of rustc that Miri is currently
132+
tested against; you can use that to find a nightly that works or you might have
133+
to wait for the next nightly to get released.
134+
130135
If you want to use a different libstd (not the one that comes with the
131136
nightly), you can do that by running
132137

0 commit comments

Comments
 (0)