Forbid running dist steps on stage 0

This commit is contained in:
Jakub Beránek 2025-08-12 12:15:36 +02:00
parent cf6612286e
commit 7cdee3927e
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

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