Skip to content

Commit 794ada0

Browse files
committed
add reachable_only to save-analysis config
1 parent b082f78 commit 794ada0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/bin/rustc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ fn main() {
183183
if env::var("RUSTC_SAVE_ANALYSIS") == Ok("api".to_string()) {
184184
cmd.arg("-Zsave-analysis");
185185
cmd.env("RUST_SAVE_ANALYSIS_CONFIG",
186-
"{\"output_file\": null,\"full_docs\": false,\"pub_only\": true,\
186+
"{\"output_file\": null,\"full_docs\": false,\
187+
\"pub_only\": true,\"reachable_only\": false,\
187188
\"distro_crate\": true,\"signatures\": false,\"borrow_data\": false}");
188189
}
189190

0 commit comments

Comments
 (0)