Skip to content

Commit

Permalink
Merge pull request #1606 from oli-obk/patch-2
Browse files Browse the repository at this point in the history
Add miri to rustup
  • Loading branch information
nrc authored Jan 14, 2019
2 parents 3f91e93 + 98cbd2e commit ab224e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rustup-win-installer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static TOOLS: &'static [&'static str] = &[
"rustfmt",
"cargo-fmt",
"cargo-clippy",
"cargo-miri",
];

#[no_mangle]
Expand Down
2 changes: 2 additions & 0 deletions src/rustup/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}
Expand Down

0 comments on commit ab224e4

Please sign in to comment.