Add change tracker entry

This commit is contained in:
Jakub Beránek 2025-08-16 08:55:53 +02:00
parent 3ec2abc2f4
commit 0579f055cd
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
2 changed files with 7 additions and 2 deletions

View file

@ -1041,11 +1041,11 @@ impl Config {
eprintln!("ERROR: cannot run clippy on stage 0. Use at least stage 1.");
exit!(1);
}
(0, Subcommand::Dist { .. }) => {
(0, Subcommand::Dist) => {
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
exit!(1);
}
(0, Subcommand::Install { .. }) => {
(0, Subcommand::Install) => {
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
exit!(1);
}

View file

@ -516,4 +516,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
severity: ChangeSeverity::Info,
summary: "Build/check now supports forwarding `--timings` flag to cargo.",
},
ChangeInfo {
change_id: 145472,
severity: ChangeSeverity::Warning,
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+.",
},
];