diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-08-12 12:15:36 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-08-23 11:00:30 +0200 |
| commit | 7cdee3927e1e5e7b2e1e32929e940abe9b20823d (patch) | |
| tree | 481d81fbb9c7d764cdfb707f128ba905eafabca9 /src/bootstrap | |
| parent | cf6612286e9c9a826925592fb0256e11e0c2aff3 (diff) | |
Forbid running dist steps on stage 0
Diffstat (limited to 'src/bootstrap')
| -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); + } _ => {} } |
