From 98cbd2ee7222363e0dbe6f64644c905b8f544ec6 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Wed, 9 Jan 2019 10:47:04 +0100 Subject: [PATCH] Add miri to the proxy list --- src/rustup-win-installer/src/lib.rs | 1 + src/rustup/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/rustup-win-installer/src/lib.rs b/src/rustup-win-installer/src/lib.rs index f6e0e03956..df03a774a6 100644 --- a/src/rustup-win-installer/src/lib.rs +++ b/src/rustup-win-installer/src/lib.rs @@ -27,6 +27,7 @@ static TOOLS: &'static [&'static str] = &[ "rustfmt", "cargo-fmt", "cargo-clippy", + "cargo-miri", ]; #[no_mangle] diff --git a/src/rustup/lib.rs b/src/rustup/lib.rs index a785ca26fc..e3891d17a3 100644 --- a/src/rustup/lib.rs +++ b/src/rustup/lib.rs @@ -31,6 +31,7 @@ pub static TOOLS: &'static [&'static str] = &[ "rust-gdb", "rls", "cargo-clippy", + "cargo-miri", ]; // Tools which are commonly installed by Cargo as well as rustup. We take a bit @@ -54,6 +55,7 @@ fn component_for_bin(binary: &str) -> Option<&'static str> { "rust-gdb" => Some("gdb-preview"), "rls" => Some("rls"), "cargo-clippy" => Some("clippy"), + "cargo-miri" => Some("miri"), "rustfmt" | "cargo-fmt" => Some("rustfmt"), _ => None, }