Don't default to stage 1 with incremental

Closes #43177.
This commit is contained in:
Tamir Duberstein 2018-04-07 22:32:21 -04:00
parent 056f589fb8
commit b204b498c5
No known key found for this signature in database
GPG key ID: 1C1E98CC8E17BB89

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"),