Skip to content

Commit fdc14cb

Browse files
committed
Toolstate: don't duplicate nightly tool list.
1 parent 18c275b commit fdc14cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/toolstate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ fn change_toolstate(
443443
if new_state != state {
444444
eprintln!("The state of `{}` has changed from `{}` to `{}`", tool, state, new_state);
445445
if new_state < state {
446-
if !["rustc-guide", "miri", "embedded-book"].contains(&tool.as_str()) {
446+
if !NIGHTLY_TOOLS.iter().any(|(name, _path)| name == tool) {
447447
regressed = true;
448448
}
449449
}

0 commit comments

Comments
 (0)