@@ -949,6 +949,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
949
949
let _ = fs:: remove_dir_all ( & exe) ;
950
950
t ! ( fs:: create_dir_all( exe. join( "rustc" ) ) ) ;
951
951
t ! ( fs:: create_dir_all( exe. join( "cargo" ) ) ) ;
952
+ t ! ( fs:: create_dir_all( exe. join( "rls" ) ) ) ;
953
+ t ! ( fs:: create_dir_all( exe. join( "rust-analysis" ) ) ) ;
952
954
t ! ( fs:: create_dir_all( exe. join( "rust-docs" ) ) ) ;
953
955
t ! ( fs:: create_dir_all( exe. join( "rust-std" ) ) ) ;
954
956
cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rustc" ) , target) )
@@ -963,11 +965,19 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
963
965
cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rust-std" ) , target) )
964
966
. join ( format ! ( "rust-std-{}" , target) ) ,
965
967
& exe. join ( "rust-std" ) ) ;
968
+ cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rls" ) , target) )
969
+ . join ( "rls" ) ,
970
+ & exe. join ( "rls" ) ) ;
971
+ cp_r ( & work. join ( & format ! ( "{}-{}" , pkgname( build, "rust-analysis" ) , target) )
972
+ . join ( format ! ( "rust-analysis-{}" , target) ) ,
973
+ & exe. join ( "rust-analysis" ) ) ;
966
974
967
975
t ! ( fs:: remove_file( exe. join( "rustc/manifest.in" ) ) ) ;
968
976
t ! ( fs:: remove_file( exe. join( "cargo/manifest.in" ) ) ) ;
969
977
t ! ( fs:: remove_file( exe. join( "rust-docs/manifest.in" ) ) ) ;
970
978
t ! ( fs:: remove_file( exe. join( "rust-std/manifest.in" ) ) ) ;
979
+ t ! ( fs:: remove_file( exe. join( "rls/manifest.in" ) ) ) ;
980
+ t ! ( fs:: remove_file( exe. join( "rust-analysis/manifest.in" ) ) ) ;
971
981
972
982
if target. contains ( "windows-gnu" ) {
973
983
t ! ( fs:: create_dir_all( exe. join( "rust-mingw" ) ) ) ;
@@ -1041,6 +1051,26 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
1041
1051
. arg ( "-dr" ) . arg ( "Std" )
1042
1052
. arg ( "-var" ) . arg ( "var.StdDir" )
1043
1053
. arg ( "-out" ) . arg ( exe. join ( "StdGroup.wxs" ) ) ) ;
1054
+ build. run ( Command :: new ( & heat)
1055
+ . current_dir ( & exe)
1056
+ . arg ( "dir" )
1057
+ . arg ( "rls" )
1058
+ . args ( & heat_flags)
1059
+ . arg ( "-cg" ) . arg ( "RlsGroup" )
1060
+ . arg ( "-dr" ) . arg ( "Rls" )
1061
+ . arg ( "-var" ) . arg ( "var.RlsDir" )
1062
+ . arg ( "-out" ) . arg ( exe. join ( "RlsGroup.wxs" ) )
1063
+ . arg ( "-t" ) . arg ( etc. join ( "msi/remove-duplicates.xsl" ) ) ) ;
1064
+ build. run ( Command :: new ( & heat)
1065
+ . current_dir ( & exe)
1066
+ . arg ( "dir" )
1067
+ . arg ( "rust-analysis" )
1068
+ . args ( & heat_flags)
1069
+ . arg ( "-cg" ) . arg ( "AnalysisGroup" )
1070
+ . arg ( "-dr" ) . arg ( "Analysis" )
1071
+ . arg ( "-var" ) . arg ( "var.AnalysisDir" )
1072
+ . arg ( "-out" ) . arg ( exe. join ( "AnalysisGroup.wxs" ) )
1073
+ . arg ( "-t" ) . arg ( etc. join ( "msi/remove-duplicates.xsl" ) ) ) ;
1044
1074
if target. contains ( "windows-gnu" ) {
1045
1075
build. run ( Command :: new ( & heat)
1046
1076
. current_dir ( & exe)
@@ -1064,6 +1094,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
1064
1094
. arg ( "-dDocsDir=rust-docs" )
1065
1095
. arg ( "-dCargoDir=cargo" )
1066
1096
. arg ( "-dStdDir=rust-std" )
1097
+ . arg ( "-dRlsDir=rls" )
1098
+ . arg ( "-dAnalysisDir=rust-analysis" )
1067
1099
. arg ( "-arch" ) . arg ( & arch)
1068
1100
. arg ( "-out" ) . arg ( & output)
1069
1101
. arg ( & input) ;
@@ -1081,6 +1113,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
1081
1113
candle ( "DocsGroup.wxs" . as_ref ( ) ) ;
1082
1114
candle ( "CargoGroup.wxs" . as_ref ( ) ) ;
1083
1115
candle ( "StdGroup.wxs" . as_ref ( ) ) ;
1116
+ candle ( "RlsGroup.wxs" . as_ref ( ) ) ;
1117
+ candle ( "AnalysisGroup.wxs" . as_ref ( ) ) ;
1084
1118
1085
1119
if target. contains ( "windows-gnu" ) {
1086
1120
candle ( "GccGroup.wxs" . as_ref ( ) ) ;
@@ -1103,6 +1137,8 @@ pub fn extended(build: &Build, stage: u32, target: &str) {
1103
1137
. arg ( "DocsGroup.wixobj" )
1104
1138
. arg ( "CargoGroup.wixobj" )
1105
1139
. arg ( "StdGroup.wixobj" )
1140
+ . arg ( "RlsGroup.wixobj" )
1141
+ . arg ( "AnalysisGroup.wixobj" )
1106
1142
. current_dir ( & exe) ;
1107
1143
1108
1144
if target. contains ( "windows-gnu" ) {
0 commit comments