Skip to content

Commit 9ce8bb9

Browse files
committed
Add save-analysis data to nightly manifests.
For use by RLS.
1 parent fc6f092 commit 9ce8bb9

File tree

1 file changed

+10
-0
lines changed
  • src/tools/build-manifest/src

1 file changed

+10
-0
lines changed

src/tools/build-manifest/src/main.rs

+10
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ impl Builder {
215215
self.package("rust-docs", &mut manifest.pkg, TARGETS);
216216
self.package("rust-src", &mut manifest.pkg, &["*"]);
217217

218+
if self.channel == "rust-nightly" {
219+
self.package("analysis", &mut manifest.pkg, TARGETS);
220+
}
221+
218222
let mut pkg = Package {
219223
version: self.cached_version("rust").to_string(),
220224
target: HashMap::new(),
@@ -264,6 +268,12 @@ impl Builder {
264268
target: target.to_string(),
265269
});
266270
}
271+
if self.channel == "nightly" {
272+
extensions.push(Component {
273+
pkg: "rust-analysis".to_string(),
274+
target: target.to_string(),
275+
});
276+
}
267277
}
268278
extensions.push(Component {
269279
pkg: "rust-src".to_string(),

0 commit comments

Comments
 (0)