diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2018-04-07 22:32:21 -0400 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2018-04-07 22:32:21 -0400 |
| commit | b204b498c5ff41a49cd36cb225056e4bf2466ea1 (patch) | |
| tree | 42e4cff537756ff2fa5dd34756f4014102038366 /src | |
| parent | 056f589fb8bcd70e7caa2bc7b3ede45624bb8e6d (diff) | |
| download | rust-b204b498c5ff41a49cd36cb225056e4bf2466ea1.tar.gz rust-b204b498c5ff41a49cd36cb225056e4bf2466ea1.zip | |
Don't default to stage 1 with incremental
Closes #43177.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/flags.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index cd304fb26e0..ef902c68d12 100644 --- a/src/bootstrap/flags.rs +++ b/src/bootstrap/flags.rs @@ -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"), |
