about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2017-11-22 16:09:43 -0500
committerAndy Russell <arussell123@gmail.com>2017-11-22 16:09:43 -0500
commit794ada06e7ad370ec48b4de69e43eb59d69543c9 (patch)
treef19d390e6967cb8dcbf239b590f68a4e34c6c3be
parentb082f78024961d7a66b0c02d55d1e8685ea728f1 (diff)
downloadrust-794ada06e7ad370ec48b4de69e43eb59d69543c9.tar.gz
rust-794ada06e7ad370ec48b4de69e43eb59d69543c9.zip
add `reachable_only` to save-analysis config
-rw-r--r--src/bootstrap/bin/rustc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index 16a23eb364a..8325b1d2a27 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -183,7 +183,8 @@ fn main() {
         if env::var("RUSTC_SAVE_ANALYSIS") == Ok("api".to_string()) {
             cmd.arg("-Zsave-analysis");
             cmd.env("RUST_SAVE_ANALYSIS_CONFIG",
-                    "{\"output_file\": null,\"full_docs\": false,\"pub_only\": true,\
+                    "{\"output_file\": null,\"full_docs\": false,\
+                     \"pub_only\": true,\"reachable_only\": false,\
                      \"distro_crate\": true,\"signatures\": false,\"borrow_data\": false}");
         }