Skip to content

Commit

Permalink
Rollup merge of rust-lang#40026 - nrc:analysis-manifest, r=alexcrichton
Browse files Browse the repository at this point in the history
Add save-analysis data to nightly manifests.

For use by RLS.

r? @alexcrichton
  • Loading branch information
eddyb authored Feb 25, 2017
2 parents a7a349a + 9ce8bb9 commit b0b29ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ impl Builder {
self.package("rust-docs", &mut manifest.pkg, TARGETS);
self.package("rust-src", &mut manifest.pkg, &["*"]);

if self.channel == "rust-nightly" {
self.package("analysis", &mut manifest.pkg, TARGETS);
}

let mut pkg = Package {
version: self.cached_version("rust").to_string(),
target: HashMap::new(),
Expand Down Expand Up @@ -266,6 +270,12 @@ impl Builder {
target: target.to_string(),
});
}
if self.channel == "nightly" {
extensions.push(Component {
pkg: "rust-analysis".to_string(),
target: target.to_string(),
});
}
}
extensions.push(Component {
pkg: "rust-src".to_string(),
Expand Down

0 comments on commit b0b29ef

Please sign in to comment.