Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add miri to rustup #1606

Merged
merged 1 commit into from
Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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