Skip to content

Commit 697ca57

Browse files
committed
Revert "Add RLS to .pkg installer"
This reverts commit 7c36273.
1 parent 7a70189 commit 697ca57

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

src/bootstrap/dist.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -914,8 +914,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
914914
t!(fs::create_dir_all(pkg.join("cargo")));
915915
t!(fs::create_dir_all(pkg.join("rust-docs")));
916916
t!(fs::create_dir_all(pkg.join("rust-std")));
917-
t!(fs::create_dir_all(pkg.join("rls")));
918-
t!(fs::create_dir_all(pkg.join("rust-analysis")));
919917

920918
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rustc"), target)),
921919
&pkg.join("rustc"));
@@ -925,17 +923,11 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
925923
&pkg.join("rust-docs"));
926924
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-std"), target)),
927925
&pkg.join("rust-std"));
928-
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rls"), target)),
929-
&pkg.join("rls"));
930-
cp_r(&work.join(&format!("{}-{}", pkgname(build, "rust-analysis"), target)),
931-
&pkg.join("rust-analysis"));
932926

933927
install(&etc.join("pkg/postinstall"), &pkg.join("rustc"), 0o755);
934928
install(&etc.join("pkg/postinstall"), &pkg.join("cargo"), 0o755);
935929
install(&etc.join("pkg/postinstall"), &pkg.join("rust-docs"), 0o755);
936930
install(&etc.join("pkg/postinstall"), &pkg.join("rust-std"), 0o755);
937-
install(&etc.join("pkg/postinstall"), &pkg.join("rls"), 0o755);
938-
install(&etc.join("pkg/postinstall"), &pkg.join("rust-analysis"), 0o755);
939931

940932
let pkgbuild = |component: &str| {
941933
let mut cmd = Command::new("pkgbuild");
@@ -949,8 +941,6 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
949941
pkgbuild("cargo");
950942
pkgbuild("rust-docs");
951943
pkgbuild("rust-std");
952-
pkgbuild("rls");
953-
pkgbuild("rust-analysis");
954944

955945
// create an 'uninstall' package
956946
install(&etc.join("pkg/postinstall"), &pkg.join("uninstall"), 0o755);

src/etc/installer/pkg/Distribution.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<line choice="rust-std"/>
1717
<line choice="cargo"/>
1818
<line choice="rust-docs"/>
19-
<line choice="rls"/>
2019
</line>
2120
<line choice="uninstall" />
2221
</choices-outline>
@@ -62,20 +61,10 @@
6261
>
6362
<pkg-ref id="org.rust-lang.rust-docs"/>
6463
</choice>
65-
<choice id="rls" visible="true"
66-
title="RLS" description="RLS, the Rust Language Server"
67-
selected="(!choices.uninstall.selected &amp;&amp; choices['rls'].selected) || (choices.uninstall.selected &amp;&amp; choices.install.selected)"
68-
start_selected="false"
69-
>
70-
<pkg-ref id="org.rust-lang.rls"/>
71-
<pkg-ref id="org.rust-lang.rust-analysis"/>
72-
</choice>
7364
<pkg-ref id="org.rust-lang.rustc" version="0" onConclusion="none">rustc.pkg</pkg-ref>
7465
<pkg-ref id="org.rust-lang.cargo" version="0" onConclusion="none">cargo.pkg</pkg-ref>
7566
<pkg-ref id="org.rust-lang.rust-docs" version="0" onConclusion="none">rust-docs.pkg</pkg-ref>
7667
<pkg-ref id="org.rust-lang.rust-std" version="0" onConclusion="none">rust-std.pkg</pkg-ref>
77-
<pkg-ref id="org.rust-lang.rls" version="0" onConclusion="none">rls.pkg</pkg-ref>
78-
<pkg-ref id="org.rust-lang.rust-analysis" version="0" onConclusion="none">rust-analysis.pkg</pkg-ref>
7968
<pkg-ref id="org.rust-lang.uninstall" version="0" onConclusion="none">uninstall.pkg</pkg-ref>
8069
<background file="rust-logo.png" mime-type="image/png"
8170
alignment="bottomleft"/>

0 commit comments

Comments
 (0)