Skip to content

Commit 9ee3a40

Browse files
committed
Rename miri component to miri-preview
It should fix installation via rustup and indicates it's not stable yet
1 parent f166314 commit 9ee3a40

File tree

1 file changed

+4
-3
lines changed
  • src/tools/build-manifest/src

1 file changed

+4
-3
lines changed

src/tools/build-manifest/src/main.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl Builder {
390390
package("rust-src", &["*"]);
391391
package("rls-preview", HOSTS);
392392
package("clippy-preview", HOSTS);
393-
package("miri", HOSTS);
393+
package("miri-preview", HOSTS);
394394
package("rustfmt-preview", HOSTS);
395395
package("rust-analysis", TARGETS);
396396
package("llvm-tools-preview", TARGETS);
@@ -408,7 +408,7 @@ impl Builder {
408408
"rustc", "cargo", "rust-std", "rust-mingw",
409409
"rust-docs", "rustfmt-preview", "clippy-preview",
410410
"rls-preview", "rust-src", "llvm-tools-preview",
411-
"lldb-preview", "rust-analysis", "miri"
411+
"lldb-preview", "rust-analysis", "miri-preview"
412412
]);
413413
}
414414

@@ -420,6 +420,7 @@ impl Builder {
420420
rename("rls", "rls-preview");
421421
rename("rustfmt", "rustfmt-preview");
422422
rename("clippy", "clippy-preview");
423+
rename("miri", "miri-preview");
423424
}
424425

425426
fn rust_package(&mut self, manifest: &Manifest) -> Package {
@@ -468,7 +469,7 @@ impl Builder {
468469
// but might be marked as unavailable if they weren't built.
469470
extensions.extend(vec![
470471
host_component("clippy-preview"),
471-
host_component("miri"),
472+
host_component("miri-preview"),
472473
host_component("rls-preview"),
473474
host_component("rustfmt-preview"),
474475
host_component("llvm-tools-preview"),

0 commit comments

Comments
 (0)