about summary refs log tree commit diff
path: root/src/bootstrap/lib.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-03-16 21:56:52 -0400
committerGitHub <noreply@github.com>2017-03-16 21:56:52 -0400
commitbc6eecd0c2ed7854d52fc823be0b093f3bc76ba8 (patch)
treeba624a9e66a33fec8bcc8bc93734d03acbdd6688 /src/bootstrap/lib.rs
parent6adbbfc6ba8786ea91e1051ea14d64a91839f5b5 (diff)
parent0aeb9c12979e6da753701a798d04105b6b1a8c28 (diff)
Merge branch 'master' into frewsxcv-osstr
Diffstat (limited to 'src/bootstrap/lib.rs')
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 72aec15e532..2d2be531e62 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -524,7 +524,7 @@ impl Build {
                  .env(format!("CFLAGS_{}", target), self.cflags(target).join(" "));
         }
 
-        if self.config.channel == "nightly" && compiler.is_final_stage(self) {
+        if self.config.rust_save_analysis && compiler.is_final_stage(self) {
             cargo.env("RUSTC_SAVE_ANALYSIS", "api".to_string());
         }