Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d6fccb

Browse files
committedJul 13, 2017
[beta] Remove rls from the workspace and extended builds
Its git dependencies don't work when building with vendored crates, so for now it will just be removed from the workspace and disabled in the rustbuild rules. cc #42719
1 parent 4b6f4f3 commit 6d6fccb

File tree

4 files changed

+1
-259
lines changed

4 files changed

+1
-259
lines changed
 

‎src/Cargo.lock

-247
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ members = [
1515
"tools/remote-test-server",
1616
"tools/rust-installer",
1717
"tools/cargo",
18-
"tools/rls",
1918
]
2019

2120
# Curiously, compiletest will segfault if compiled with opt-level=3 on 64-bit
@@ -34,6 +33,3 @@ debug-assertions = false
3433
[profile.test]
3534
debug = false
3635
debug-assertions = false
37-
38-
[replace]
39-
"https://github.com/rust-lang/cargo#0.20.0" = { path = "tools/cargo" }

‎src/bootstrap/dist.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
834834
let cargo_installer = dist.join(format!("{}-{}.tar.gz",
835835
pkgname(build, "cargo"),
836836
target));
837-
let rls_installer = dist.join(format!("{}-{}.tar.gz",
838-
pkgname(build, "rls"),
839-
target));
840837
let analysis_installer = dist.join(format!("{}-{}.tar.gz",
841838
pkgname(build, "rust-analysis"),
842839
target));
@@ -867,7 +864,7 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
867864
// upgrades rustc was upgraded before rust-std. To avoid rustc clobbering
868865
// the std files during uninstall. To do this ensure that rustc comes
869866
// before rust-std in the list below.
870-
let mut tarballs = vec![rustc_installer, cargo_installer, rls_installer,
867+
let mut tarballs = vec![rustc_installer, cargo_installer,
871868
analysis_installer, docs_installer, std_installer];
872869
if target.contains("pc-windows-gnu") {
873870
tarballs.push(mingw_installer);
@@ -1184,7 +1181,6 @@ pub fn hash_and_sign(build: &Build) {
11841181
cmd.arg(today.trim());
11851182
cmd.arg(build.rust_package_vers());
11861183
cmd.arg(build.package_vers(&build.release_num("cargo")));
1187-
cmd.arg(build.package_vers(&build.release_num("rls")));
11881184
cmd.arg(addr);
11891185

11901186
t!(fs::create_dir_all(distdir(build)));

‎src/bootstrap/step.rs

-3
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
596596
.run(move |s| compile::tool(build, s.stage, s.target, "cargo"));
597597
rules.build("tool-rls", "src/tools/rls")
598598
.host(true)
599-
.default(build.config.extended)
600599
.dep(|s| s.name("librustc-tool"))
601600
.dep(|s| s.stage(0).host(s.target).name("openssl"))
602601
.dep(move |s| {
@@ -783,7 +782,6 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
783782
.dep(|d| d.name("dist-mingw"))
784783
.dep(|d| d.name("dist-docs"))
785784
.dep(|d| d.name("dist-cargo"))
786-
.dep(|d| d.name("dist-rls"))
787785
.dep(|d| d.name("dist-analysis"))
788786
.dep(move |s| tool_rust_installer(build, s))
789787
.run(move |s| dist::extended(build, s.stage, s.target));
@@ -812,7 +810,6 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
812810
.dep(|s| s.name("dist-cargo"))
813811
.run(move |s| install::Installer::new(build).install_cargo(s.stage, s.target));
814812
rules.install("install-rls", "rls")
815-
.default(build.config.extended)
816813
.host(true)
817814
.only_host_build(true)
818815
.dep(|s| s.name("dist-rls"))

0 commit comments

Comments
 (0)
Please sign in to comment.