Skip to content

Commit

Permalink
Rollup merge of #69626 - ehuss:toolstate-nightly-cleanup, r=Mark-Simu…
Browse files Browse the repository at this point in the history
…lacrum

Toolstate: don't duplicate nightly tool list.

Just some cleanup, seems good to avoid duplicating this list.
  • Loading branch information
JohnTitor committed Mar 3, 2020
2 parents 9f3a192 + fdc14cb commit c9d421f
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 c9d421f

Please sign in to comment.