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
This commit is contained in:
bors 2018-04-08 19:11:47 +00:00
commit b7da1aaff6
1 changed files with 1 additions and 7 deletions

View File

@ -357,15 +357,9 @@ Arguments:
};
let mut stage = matches.opt_str("stage").map(|j| j.parse().unwrap());
if matches.opt_present("incremental") && stage.is_none() {
stage = Some(1);
}
Flags {
verbose: matches.opt_count("verbose"),
stage,
stage: matches.opt_str("stage").map(|j| j.parse().unwrap()),
dry_run: matches.opt_present("dry-run"),
on_fail: matches.opt_str("on-fail"),
rustc_error_format: matches.opt_str("error-format"),