Skip to content

Commit 2074e13

Browse files
committed
Forbid running install steps on stage 0
1 parent e8af236 commit 2074e13

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
@@ -1045,6 +1045,10 @@ impl Config {
10451045
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
10461046
exit!(1);
10471047
}
1048+
(0, Subcommand::Install { .. }) => {
1049+
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
1050+
exit!(1);
1051+
}
10481052
_ => {}
10491053
}
10501054

0 commit comments

Comments
 (0)