Skip to content

Commit b7da1aa

Browse files
committed
Auto merge of #49771 - tamird:incremental-no-stage-1, r=Mark-Simulacrum
Don't default to stage 1 with incremental Closes #43177. r? @Mark-Simulacrum
2 parents 7327d9d + b204b49 commit b7da1aa

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/bootstrap/flags.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -357,15 +357,9 @@ Arguments:
357357
};
358358

359359

360-
let mut stage = matches.opt_str("stage").map(|j| j.parse().unwrap());
361-
362-
if matches.opt_present("incremental") && stage.is_none() {
363-
stage = Some(1);
364-
}
365-
366360
Flags {
367361
verbose: matches.opt_count("verbose"),
368-
stage,
362+
stage: matches.opt_str("stage").map(|j| j.parse().unwrap()),
369363
dry_run: matches.opt_present("dry-run"),
370364
on_fail: matches.opt_str("on-fail"),
371365
rustc_error_format: matches.opt_str("error-format"),

0 commit comments

Comments
 (0)