Skip to content

Commit 6e3c9ab

Browse files
committed
Add change tracker entry
1 parent b7991a2 commit 6e3c9ab

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
@@ -1379,11 +1379,11 @@ impl Config {
13791379
eprintln!("ERROR: cannot run clippy on stage 0. Use at least stage 1.");
13801380
exit!(1);
13811381
}
1382-
(0, Subcommand::Dist { .. }) => {
1382+
(0, Subcommand::Dist) => {
13831383
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
13841384
exit!(1);
13851385
}
1386-
(0, Subcommand::Install { .. }) => {
1386+
(0, Subcommand::Install) => {
13871387
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
13881388
exit!(1);
13891389
}

src/bootstrap/src/utils/change_tracker.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,4 +511,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
511511
severity: ChangeSeverity::Info,
512512
summary: "Build/check now supports forwarding `--timings` flag to cargo.",
513513
},
514+
ChangeInfo {
515+
change_id: 145472,
516+
severity: ChangeSeverity::Warning,
517+
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+.",
518+
},
514519
];

0 commit comments

Comments
 (0)