From 2074e1344d33884324d125271d34e35b2d503ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Fri, 15 Aug 2025 20:33:29 +0200 Subject: [PATCH] Forbid running install steps on stage 0 --- src/bootstrap/src/core/config/config.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 485960f42566..7f7d2b3c0340 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -1045,6 +1045,10 @@ impl Config { eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1."); exit!(1); } + (0, Subcommand::Install { .. }) => { + eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1."); + exit!(1); + } _ => {} }