@@ -899,6 +899,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
899899 t ! ( fs:: create_dir_all( pkg. join( "cargo" ) ) ) ;
900900 t ! ( fs:: create_dir_all( pkg. join( "rust-docs" ) ) ) ;
901901 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" ) ) ) ;
902904
903905 cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rustc" ) , target) ) ,
904906 & pkg. join ( "rustc" ) ) ;
@@ -908,11 +910,17 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
908910 & pkg. join ( "rust-docs" ) ) ;
909911 cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rust-std" ) , target) ) ,
910912 & 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" ) ) ;
911917
912918 install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rustc" ) , 0o755 ) ;
913919 install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "cargo" ) , 0o755 ) ;
914920 install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "rust-docs" ) , 0o755 ) ;
915921 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 ) ;
916924
917925 let pkgbuild = |component : & str | {
918926 let mut cmd = Command :: new ( "pkgbuild" ) ;
@@ -926,6 +934,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
926934 pkgbuild ( "cargo" ) ;
927935 pkgbuild ( "rust-docs" ) ;
928936 pkgbuild ( "rust-std" ) ;
937+ pkgbuild ( "rls" ) ;
938+ pkgbuild ( "rust-analysis" ) ;
929939
930940 // create an 'uninstall' package
931941 install ( & etc. join ( "pkg/postinstall" ) , & pkg. join ( "uninstall" ) , 0o755 ) ;
0 commit comments