rustbuild: Make save-analysis an option
This commit is contained in:
parent
8c72b7651f
commit
e31e264c55
6 changed files with 11 additions and 10 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue