From b204b498c5ff41a49cd36cb225056e4bf2466ea1 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sat, 7 Apr 2018 22:32:21 -0400 Subject: [PATCH] Don't default to stage 1 with incremental Closes #43177. --- src/bootstrap/flags.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/bootstrap/flags.rs b/src/bootstrap/flags.rs index cd304fb26e0bf..ef902c68d12d8 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"),