Skip to content

Commit 1ffc3dd

Browse files
committed
Attempt to fix the component manifest problem for rls-preview
cc #44270
1 parent 2f1ef9e commit 1ffc3dd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/bootstrap/dist.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -1088,8 +1088,14 @@ impl Step for Rls {
10881088
.arg("--output-dir").arg(&distdir(build))
10891089
.arg("--non-installed-overlay").arg(&overlay)
10901090
.arg(format!("--package-name={}-{}", name, target))
1091-
.arg("--component-name=rls")
10921091
.arg("--legacy-manifest-dirs=rustlib,cargo");
1092+
1093+
if build.config.channel == "nightly" {
1094+
cmd.arg("--component-name=rls");
1095+
} else {
1096+
cmd.arg("--component-name=rls-preview");
1097+
}
1098+
10931099
build.run(&mut cmd);
10941100
distdir(build).join(format!("{}-{}.tar.gz", name, target))
10951101
}

0 commit comments

Comments
 (0)