Skip to content

Commit

Permalink
Toolstate: don't duplicate nightly tool list.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 2, 2020
1 parent 18c275b commit fdc14cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/toolstate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ fn change_toolstate(
if new_state != state {
eprintln!("The state of `{}` has changed from `{}` to `{}`", tool, state, new_state);
if new_state < state {
if !["rustc-guide", "miri", "embedded-book"].contains(&tool.as_str()) {
if !NIGHTLY_TOOLS.iter().any(|(name, _path)| name == tool) {
regressed = true;
}
}
Expand Down

0 comments on commit fdc14cb

Please sign in to comment.