We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1ef9e commit 1ffc3ddCopy full SHA for 1ffc3dd
src/bootstrap/dist.rs
@@ -1088,8 +1088,14 @@ impl Step for Rls {
1088
.arg("--output-dir").arg(&distdir(build))
1089
.arg("--non-installed-overlay").arg(&overlay)
1090
.arg(format!("--package-name={}-{}", name, target))
1091
- .arg("--component-name=rls")
1092
.arg("--legacy-manifest-dirs=rustlib,cargo");
+
1093
+ if build.config.channel == "nightly" {
1094
+ cmd.arg("--component-name=rls");
1095
+ } else {
1096
+ cmd.arg("--component-name=rls-preview");
1097
+ }
1098
1099
build.run(&mut cmd);
1100
distdir(build).join(format!("{}-{}.tar.gz", name, target))
1101
}
0 commit comments