mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Rollup merge of #40026 - nrc:analysis-manifest, r=alexcrichton
Add save-analysis data to nightly manifests. For use by RLS. r? @alexcrichton
This commit is contained in:
commit
f1350408c9
@ -215,6 +215,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(),
|
||||
@ -264,6 +268,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(),
|
||||
|
Loading…
Reference in New Issue
Block a user