提交 9ee3a404 编写于 作者: M Mateusz Mikuła 提交者: Mateusz Mikuła

Rename miri component to miri-preview

It should fix installation via rustup and indicates it's not stable yet
上级 f166314b
......@@ -390,7 +390,7 @@ fn add_packages_to(&mut self, manifest: &mut Manifest) {
package("rust-src", &["*"]);
package("rls-preview", HOSTS);
package("clippy-preview", HOSTS);
package("miri", HOSTS);
package("miri-preview", HOSTS);
package("rustfmt-preview", HOSTS);
package("rust-analysis", TARGETS);
package("llvm-tools-preview", TARGETS);
......@@ -408,7 +408,7 @@ fn add_profiles_to(&mut self, manifest: &mut Manifest) {
"rustc", "cargo", "rust-std", "rust-mingw",
"rust-docs", "rustfmt-preview", "clippy-preview",
"rls-preview", "rust-src", "llvm-tools-preview",
"lldb-preview", "rust-analysis", "miri"
"lldb-preview", "rust-analysis", "miri-preview"
]);
}
......@@ -420,6 +420,7 @@ fn add_renames_to(&self, manifest: &mut Manifest) {
rename("rls", "rls-preview");
rename("rustfmt", "rustfmt-preview");
rename("clippy", "clippy-preview");
rename("miri", "miri-preview");
}
fn rust_package(&mut self, manifest: &Manifest) -> Package {
......@@ -468,7 +469,7 @@ fn target_host_combination(&mut self, host: &str, manifest: &Manifest) -> Option
// but might be marked as unavailable if they weren't built.
extensions.extend(vec![
host_component("clippy-preview"),
host_component("miri"),
host_component("miri-preview"),
host_component("rls-preview"),
host_component("rustfmt-preview"),
host_component("llvm-tools-preview"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册