Skip to content

Commit b5603ed

Browse files
committed
Auto merge of #1148 - yoshuawuyts:patch-1, r=RalfJung
Document miri can only be installed on nightly This updates the installation instructions to point out that miri is only available on nightly, and encodes this assumption into the installation instructions. It took me a bit of research to find out *why* miri wasn't installing on `windows-msvc`: ```txt C:\Users\yoshu> rustup component add miri error: component 'miri' for target 'x86_64-pc-windows-msvc' is unavailable for download for channel stable ``` I thought it must 've been something with the `msvc` target, but it turned out I was running on `stable`, and miri can only be installed on `nightly`. Having that be clearer in the installation instructions would've saved me some time debugging. Thanks!
2 parents 8340358 + 0acc309 commit b5603ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ program, and cannot run all programs:
5151

5252
## Using Miri
5353

54-
Install Miri via `rustup`:
54+
Install Miri on Rust nightly via `rustup`:
5555

5656
```sh
57-
rustup component add miri
57+
rustup +nightly component add miri
5858
```
5959

6060
If `rustup` says the `miri` component is unavailable, that's because not all

0 commit comments

Comments
 (0)