Skip to content

Commit

Permalink
Don't default to stage 1 with incremental
Browse files Browse the repository at this point in the history
Closes #43177.
  • Loading branch information
tamird committed Apr 8, 2018
1 parent 056f589 commit b204b49
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/bootstrap/flags.rs
Expand Up @@ -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"),
Expand Down

0 comments on commit b204b49

Please sign in to comment.