You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,16 @@ Install Miri via `rustup`:
53
53
rustup component add miri
54
54
```
55
55
56
+
### error: component 'miri' is unavailable for download (nightly)
57
+
58
+
The development of rustc's internals is quite fast paced. Downstream projects that rely on nightly internals, particularly clippy, can break fairly often because of this.
59
+
60
+
When such breakages occur the nightly release will be missing Miri. This is a trade-off compared with the other option of just not publishing the night's release, but does avoid blocking the rust nightly releases for people that don't need clippy/Miri.
61
+
62
+
To mitigate the issues we have:
63
+
* rustup will warn if the update is missing any components you currently have. This means you can no longer accidentally update to a no-Miri release. Once Miri is available again it'll update.
64
+
* However, if you need latest nightly Miri you can use <https://rust-lang.github.io/rustup-components-history/> to find and install a dated nightly release e.g. `rustup install nightly-2018-12-06`.
65
+
56
66
Now you can run your project in Miri:
57
67
58
68
1. Run `cargo clean` to eliminate any cached dependencies. Miri needs your
@@ -88,19 +98,9 @@ fn does_not_work_on_miri() {
88
98
89
99
### Common Problems
90
100
91
-
When using the above instructions, you may encounter a number of confusing
101
+
When using the above instructions, you may encounter a number of confusing compiler
92
102
errors.
93
103
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
0 commit comments