Skip to content

Commit d5cdba5

Browse files
authored
Add alternative for how to install if rustup fails
As is the case now: https://rust-lang-nursery.github.io/rust-toolstate/
1 parent ac61d29 commit d5cdba5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,19 @@ fn does_not_work_on_miri() {
8888

8989
### Common Problems
9090

91-
When using the above instructions, you may encounter a number of confusing compiler
91+
When using the above instructions, you may encounter a number of confusing
9292
errors.
9393

94+
#### "component 'miri' for target '\<target\>' is unavailable for download for channel 'nightly'"
95+
96+
The latest nightly may have broken Miri. If [this is the case][rust-toolstate], instead try to install Miri the old way with
97+
98+
```sh
99+
cargo +nightly install --force --git https://github.com/rust-lang/miri miri
100+
```
101+
102+
[rust-toolstate]:
103+
94104
#### "found possibly newer version of crate `std` which `<dependency>` depends on"
95105

96106
Your build directory may contain artifacts from an earlier build that have/have

0 commit comments

Comments
 (0)