Skip to content

Commit 0579f05

Browse files
committed
Add change tracker entry
1 parent 3ec2abc commit 0579f05

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,11 +1041,11 @@ impl Config {
10411041
eprintln!("ERROR: cannot run clippy on stage 0. Use at least stage 1.");
10421042
exit!(1);
10431043
}
1044-
(0, Subcommand::Dist { .. }) => {
1044+
(0, Subcommand::Dist) => {
10451045
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
10461046
exit!(1);
10471047
}
1048-
(0, Subcommand::Install { .. }) => {
1048+
(0, Subcommand::Install) => {
10491049
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
10501050
exit!(1);
10511051
}

src/bootstrap/src/utils/change_tracker.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,4 +516,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
516516
severity: ChangeSeverity::Info,
517517
summary: "Build/check now supports forwarding `--timings` flag to cargo.",
518518
},
519+
ChangeInfo {
520+
change_id: 145472,
521+
severity: ChangeSeverity::Warning,
522+
summary: "It is no longer possible to `x dist` or `x install` with stage 0. All dist and install commands have to be on stage 1+.",
523+
},
519524
];

0 commit comments

Comments
 (0)