diff options
| -rw-r--r-- | src/bootstrap/src/core/config/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index f579bdd847f..485960f4256 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); + } _ => {} } |
