Skip to content

Commit c67207d

Browse files
committed
Attempt to fix the component manifest problem for rls-preview
cc rust-lang#44270
1 parent b64b5de commit c67207d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/dist.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,12 @@ pub fn rls(build: &Build, stage: u32, target: &str) {
808808
.arg("--output-dir").arg(&distdir(build))
809809
.arg("--non-installed-overlay").arg(&overlay)
810810
.arg(format!("--package-name={}-{}", name, target))
811-
.arg("--component-name=rls")
812811
.arg("--legacy-manifest-dirs=rustlib,cargo");
812+
if build.config.channel == "nightly" {
813+
cmd.arg("--component-name=rls");
814+
} else {
815+
cmd.arg("--component-name=rls-preview");
816+
}
813817
build.run(&mut cmd);
814818
}
815819

0 commit comments

Comments
 (0)