diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index f579bdd847f6..485960f42566 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -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); + } _ => {} }