@@ -899,6 +899,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
899
899
t ! ( fs:: create_dir_all( pkg. join( "cargo" ) ) ) ;
900
900
t ! ( fs:: create_dir_all( pkg. join( "rust-docs" ) ) ) ;
901
901
t ! ( fs:: create_dir_all( pkg. join( "rust-std" ) ) ) ;
902
+ t ! ( fs:: create_dir_all( pkg. join( "rls" ) ) ) ;
903
+ t ! ( fs:: create_dir_all( pkg. join( "rust-analysis" ) ) ) ;
902
904
903
905
cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rustc" ) , target) ) ,
904
906
& pkg. join ( "rustc" ) ) ;
@@ -908,11 +910,17 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
908
910
& pkg. join ( "rust-docs" ) ) ;
909
911
cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rust-std" ) , target) ) ,
910
912
& pkg. join ( "rust-std" ) ) ;
913
+ cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rls" ) , target) ) ,
914
+ & pkg. join ( "rls" ) ) ;
915
+ cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rust-analysis" ) , target) ) ,
916
+ & pkg. join ( "rust-analysis" ) ) ;
911
917
912
918
install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rustc" ) , 0o755 ) ;
913
919
install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "cargo" ) , 0o755 ) ;
914
920
install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rust-docs" ) , 0o755 ) ;
915
921
install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rust-std" ) , 0o755 ) ;
922
+ install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rls" ) , 0o755 ) ;
923
+ install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rust-analysis" ) , 0o755 ) ;
916
924
917
925
let pkgbuild = |component : & str | {
918
926
let mut cmd = Command :: new ( "pkgbuild" ) ;
@@ -926,6 +934,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
926
934
pkgbuild ( "cargo" ) ;
927
935
pkgbuild ( "rust-docs" ) ;
928
936
pkgbuild ( "rust-std" ) ;
937
+ pkgbuild ( "rls" ) ;
938
+ pkgbuild ( "rust-analysis" ) ;
929
939
930
940
// create an 'uninstall' package
931
941
install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "uninstall" ) , 0o755 ) ;
0 commit comments