From d5cdba5ee6025374be0942cf103740603216604e Mon Sep 17 00:00:00 2001 From: Timo Date: Sat, 30 Mar 2019 17:53:15 -0400 Subject: [PATCH] Add alternative for how to install if rustup fails As is the case now: https://rust-lang-nursery.github.io/rust-toolstate/ --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cf7bc9e32d0b..115f29f09abe 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,19 @@ fn does_not_work_on_miri() { ### Common Problems -When using the above instructions, you may encounter a number of confusing compiler +When using the above instructions, you may encounter a number of confusing errors. +#### "component 'miri' for target '\' is unavailable for download for channel 'nightly'" + +The latest nightly may have broken Miri. If [this is the case][rust-toolstate], instead try to install Miri the old way with + +```sh +cargo +nightly install --force --git https://github.com/rust-lang/miri miri +``` + +[rust-toolstate]: + #### "found possibly newer version of crate `std` which `` depends on" Your build directory may contain artifacts from an earlier build that have/have