diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-08-08 17:00:24 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-08-13 08:11:00 +0200 |
| commit | d2165674e78aff1d0712b02bf33979230c321c85 (patch) | |
| tree | b04bf9cd63d58c3f64420c4bc158bfa9990367e9 | |
| parent | 5d1535ca294db11c1cfff39aa31e18164eae28b4 (diff) | |
| download | rust-d2165674e78aff1d0712b02bf33979230c321c85.tar.gz rust-d2165674e78aff1d0712b02bf33979230c321c85.zip | |
Forbid running Clippy on stage 0
| -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 a656927b1f6..9ced81e1e28 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -1375,6 +1375,10 @@ impl Config { eprintln!("ERROR: cannot document anything on stage 0. Use at least stage 1."); exit!(1); } + (0, Subcommand::Clippy { .. }) => { + eprintln!("ERROR: cannot run clippy on stage 0. Use at least stage 1."); + exit!(1); + } _ => {} } |
