Skip to content

Commit

Permalink
Rollup merge of rust-lang#44356 - nrc:rls-component-manifest, r=@alex…
Browse files Browse the repository at this point in the history
…crichton

Attempt to fix the component manifest problem for rls-preview

cc rust-lang#44270

See rust-lang#44270
  • Loading branch information
frewsxcv committed Sep 11, 2017
2 parents 31023b0 + 1ffc3dd commit 86402ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,14 @@ impl Step for Rls {
.arg("--output-dir").arg(&distdir(build))
.arg("--non-installed-overlay").arg(&overlay)
.arg(format!("--package-name={}-{}", name, target))
.arg("--component-name=rls")
.arg("--legacy-manifest-dirs=rustlib,cargo");

if build.config.channel == "nightly" {
cmd.arg("--component-name=rls");
} else {
cmd.arg("--component-name=rls-preview");
}

build.run(&mut cmd);
distdir(build).join(format!("{}-{}.tar.gz", name, target))
}
Expand Down

0 comments on commit 86402ad

Please sign in to comment.