Create tar balls of save-analysis-api metadata for the standard libraries as part of make dist.

This commit is contained in:
Nick Cameron
2016-10-27 11:41:56 +13:00
parent bd148d220e
commit c49ba058a0
4 changed files with 58 additions and 1 deletions

View File

@@ -507,6 +507,10 @@ impl Build {
.env(format!("CFLAGS_{}", target), self.cflags(target).join(" "));
}
if self.config.channel == "nightly" && compiler.stage == 2 {
cargo.env("RUSTC_SAVE_ANALYSIS", "api".to_string());
}
// Environment variables *required* needed throughout the build
//
// FIXME: should update code to not require this env var