Skip to content

Commit

Permalink
Remove save-analysis-api references from tests and rustbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Jul 24, 2017
1 parent ad8ecc2 commit 5134a5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/bootstrap/bin/rustc.rs
Expand Up @@ -185,7 +185,10 @@ fn main() {

// Emit save-analysis info.
if env::var("RUSTC_SAVE_ANALYSIS") == Ok("api".to_string()) {
cmd.arg("-Zsave-analysis-api");
cmd.arg("-Zsave-analysis");
cmd.env("RUST_SAVE_ANALYSIS_CONFIG",
"{\"output_file\": null,\"full_docs\": false,\"pub_only\": true,\
\"signatures\": false,\"borrow_data\": false}");
}

// Dealing with rpath here is a little special, so let's go into some
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make/save-analysis/Makefile
Expand Up @@ -4,4 +4,3 @@ krate2: krate2.rs
$(RUSTC) $<
code: foo.rs krate2
$(RUSTC) foo.rs -Zsave-analysis
$(RUSTC) foo.rs -Zsave-analysis-api

0 comments on commit 5134a5f

Please sign in to comment.