We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6f092 commit 9ce8bb9Copy full SHA for 9ce8bb9
src/tools/build-manifest/src/main.rs
@@ -215,6 +215,10 @@ impl Builder {
215
self.package("rust-docs", &mut manifest.pkg, TARGETS);
216
self.package("rust-src", &mut manifest.pkg, &["*"]);
217
218
+ if self.channel == "rust-nightly" {
219
+ self.package("analysis", &mut manifest.pkg, TARGETS);
220
+ }
221
+
222
let mut pkg = Package {
223
version: self.cached_version("rust").to_string(),
224
target: HashMap::new(),
@@ -264,6 +268,12 @@ impl Builder {
264
268
target: target.to_string(),
265
269
});
266
270
}
271
+ if self.channel == "nightly" {
272
+ extensions.push(Component {
273
+ pkg: "rust-analysis".to_string(),
274
+ target: target.to_string(),
275
+ });
276
267
277
278
extensions.push(Component {
279
pkg: "rust-src".to_string(),
0 commit comments