Skip to content

Commit fd4c735

Browse files
committed
Forbid running install steps on stage 0
1 parent 4831c74 commit fd4c735

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,10 @@ impl Config {
13831383
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
13841384
exit!(1);
13851385
}
1386+
(0, Subcommand::Install { .. }) => {
1387+
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
1388+
exit!(1);
1389+
}
13861390
_ => {}
13871391
}
13881392

0 commit comments

Comments
 (0)