Skip to content

Commit 4b08831

Browse files
committed
Revert "Add RLS to .exe and .msi installers"
This reverts commit eeebfd6.
1 parent 697ca57 commit 4b08831

File tree

3 files changed

+0
-49
lines changed

3 files changed

+0
-49
lines changed

src/bootstrap/dist.rs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -964,8 +964,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
964964
let _ = fs::remove_dir_all(&exe);
965965
t!(fs::create_dir_all(exe.join("rustc")));
966966
t!(fs::create_dir_all(exe.join("cargo")));
967-
t!(fs::create_dir_all(exe.join("rls")));
968-
t!(fs::create_dir_all(exe.join("rust-analysis")));
969967
t!(fs::create_dir_all(exe.join("rust-docs")));
970968
t!(fs::create_dir_all(exe.join("rust-std")));
971969
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rustc"), target))
@@ -980,19 +978,11 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
980978
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-std"), target))
981979
.join(format!("rust-std-{}", target)),
982980
&exe.join("rust-std"));
983-
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rls"), target))
984-
.join("rls"),
985-
&exe.join("rls"));
986-
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-analysis"), target))
987-
.join(format!("rust-analysis-{}", target)),
988-
&exe.join("rust-analysis"));
989981

990982
t!(fs::remove_file(exe.join("rustc/manifest.in")));
991983
t!(fs::remove_file(exe.join("cargo/manifest.in")));
992984
t!(fs::remove_file(exe.join("rust-docs/manifest.in")));
993985
t!(fs::remove_file(exe.join("rust-std/manifest.in")));
994-
t!(fs::remove_file(exe.join("rls/manifest.in")));
995-
t!(fs::remove_file(exe.join("rust-analysis/manifest.in")));
996986

997987
if target.contains("windows-gnu") {
998988
t!(fs::create_dir_all(exe.join("rust-mingw")));
@@ -1066,26 +1056,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
10661056
.arg("-dr").arg("Std")
10671057
.arg("-var").arg("var.StdDir")
10681058
.arg("-out").arg(exe.join("StdGroup.wxs")));
1069-
build.run(Command::new(&heat)
1070-
.current_dir(&exe)
1071-
.arg("dir")
1072-
.arg("rls")
1073-
.args(&heat_flags)
1074-
.arg("-cg").arg("RlsGroup")
1075-
.arg("-dr").arg("Rls")
1076-
.arg("-var").arg("var.RlsDir")
1077-
.arg("-out").arg(exe.join("RlsGroup.wxs"))
1078-
.arg("-t").arg(etc.join("msi/remove-duplicates.xsl")));
1079-
build.run(Command::new(&heat)
1080-
.current_dir(&exe)
1081-
.arg("dir")
1082-
.arg("rust-analysis")
1083-
.args(&heat_flags)
1084-
.arg("-cg").arg("AnalysisGroup")
1085-
.arg("-dr").arg("Analysis")
1086-
.arg("-var").arg("var.AnalysisDir")
1087-
.arg("-out").arg(exe.join("AnalysisGroup.wxs"))
1088-
.arg("-t").arg(etc.join("msi/remove-duplicates.xsl")));
10891059
if target.contains("windows-gnu") {
10901060
build.run(Command::new(&heat)
10911061
.current_dir(&exe)
@@ -1109,8 +1079,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
11091079
.arg("-dDocsDir=rust-docs")
11101080
.arg("-dCargoDir=cargo")
11111081
.arg("-dStdDir=rust-std")
1112-
.arg("-dRlsDir=rls")
1113-
.arg("-dAnalysisDir=rust-analysis")
11141082
.arg("-arch").arg(&arch)
11151083
.arg("-out").arg(&output)
11161084
.arg(&input);
@@ -1128,8 +1096,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
11281096
candle("DocsGroup.wxs".as_ref());
11291097
candle("CargoGroup.wxs".as_ref());
11301098
candle("StdGroup.wxs".as_ref());
1131-
candle("RlsGroup.wxs".as_ref());
1132-
candle("AnalysisGroup.wxs".as_ref());
11331099

11341100
if target.contains("windows-gnu") {
11351101
candle("GccGroup.wxs".as_ref());
@@ -1152,8 +1118,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
11521118
.arg("DocsGroup.wixobj")
11531119
.arg("CargoGroup.wixobj")
11541120
.arg("StdGroup.wixobj")
1155-
.arg("RlsGroup.wixobj")
1156-
.arg("AnalysisGroup.wixobj")
11571121
.current_dir(&exe);
11581122

11591123
if target.contains("windows-gnu") {

src/etc/installer/exe/rust.iss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Name: gcc; Description: "Linker and platform libraries"; Types: full
4646
Name: docs; Description: "HTML documentation"; Types: full
4747
Name: cargo; Description: "Cargo, the Rust package manager"; Types: full
4848
Name: std; Description: "The Rust Standard Library"; Types: full
49-
Name: rls; Description: "RLS, the Rust Language Server"
5049

5150
[Files]
5251
Source: "rustc/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: rust
@@ -56,8 +55,6 @@ Source: "rust-mingw/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs;
5655
Source: "rust-docs/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: docs
5756
Source: "cargo/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: cargo
5857
Source: "rust-std/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: std
59-
Source: "rls/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: rls
60-
Source: "rust-analysis/*.*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs; Components: rls
6158

6259
[Code]
6360
const

src/etc/installer/msi/rust.wxs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@
170170
<Directory Id="Docs" Name="." />
171171
<Directory Id="Cargo" Name="." />
172172
<Directory Id="Std" Name="." />
173-
<Directory Id="Rls" Name="." />
174-
<Directory Id="Analysis" Name="." />
175173
</Directory>
176174
</Directory>
177175

@@ -275,14 +273,6 @@
275273
<ComponentRef Id="PathEnvPerMachine" />
276274
<ComponentRef Id="PathEnvPerUser" />
277275
</Feature>
278-
<Feature Id="RLS"
279-
Title="RLS, the Rust Language Server"
280-
Display="7"
281-
Level="2"
282-
AllowAdvertise="no">
283-
<ComponentGroupRef Id="RlsGroup" />
284-
<ComponentGroupRef Id="AnalysisGroup" />
285-
</Feature>
286276

287277
<UIRef Id="RustUI" />
288278
</Product>

0 commit comments

Comments
 (0)