Skip to content

Commit c9d421f

Browse files
authored
Rollup merge of #69626 - ehuss:toolstate-nightly-cleanup, r=Mark-Simulacrum
Toolstate: don't duplicate nightly tool list. Just some cleanup, seems good to avoid duplicating this list.
2 parents 9f3a192 + fdc14cb commit c9d421f

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)