Store positive instead of negative fail_fast.

This makes later negation much easier to interpret.
This commit is contained in:
Mark Simulacrum
2017-06-27 13:37:24 -06:00
parent 712bd0d841
commit 4dc8fe9083
3 changed files with 11 additions and 10 deletions

View File

@@ -167,6 +167,7 @@ pub struct Build {
cargo_info: channel::GitInfo,
rls_info: channel::GitInfo,
local_rebuild: bool,
fail_fast: bool,
// Stage 0 (downloaded) compiler and cargo or their local rust equivalents.
initial_rustc: PathBuf,
@@ -240,12 +241,12 @@ impl Build {
let rust_info = channel::GitInfo::new(&src);
let cargo_info = channel::GitInfo::new(&src.join("src/tools/cargo"));
let rls_info = channel::GitInfo::new(&src.join("src/tools/rls"));
let src_is_git = src.join(".git").exists();
Build {
initial_rustc: config.initial_rustc.clone(),
initial_cargo: config.initial_cargo.clone(),
local_rebuild: config.local_rebuild,
fail_fast: flags.cmd.fail_fast(),
flags: flags,
config: config,