We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d93a53 + 1ffc3dd commit 5ebf810Copy full SHA for 5ebf810
src/bootstrap/dist.rs
@@ -1098,8 +1098,14 @@ impl Step for Rls {
1098
.arg("--output-dir").arg(&distdir(build))
1099
.arg("--non-installed-overlay").arg(&overlay)
1100
.arg(format!("--package-name={}-{}", name, target))
1101
- .arg("--component-name=rls")
1102
.arg("--legacy-manifest-dirs=rustlib,cargo");
+
1103
+ if build.config.channel == "nightly" {
1104
+ cmd.arg("--component-name=rls");
1105
+ } else {
1106
+ cmd.arg("--component-name=rls-preview");
1107
+ }
1108
1109
build.run(&mut cmd);
1110
distdir(build).join(format!("{}-{}.tar.gz", name, target))
1111
}
0 commit comments