Remove save-analysis-api references from tests and rustbuild
This commit is contained in:
parent
ad8ecc20a2
commit
5134a5f02c
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,4 +4,3 @@ krate2: krate2.rs
|
|||
$(RUSTC) $<
|
||||
code: foo.rs krate2
|
||||
$(RUSTC) foo.rs -Zsave-analysis
|
||||
$(RUSTC) foo.rs -Zsave-analysis-api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue