File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -895,6 +895,8 @@ impl Step for Src {
895
895
896
896
/// Creates the `rust-src` installer component
897
897
fn run ( self , builder : & Builder < ' _ > ) -> GeneratedTarball {
898
+ builder. update_submodule ( & Path :: new ( "src/llvm-project" ) ) ;
899
+
898
900
let tarball = Tarball :: new_targetless ( builder, "rust-src" ) ;
899
901
900
902
// A lot of tools expect the rust-src component to be entirely in this directory, so if you
Original file line number Diff line number Diff line change @@ -1087,6 +1087,8 @@ impl Step for CrtBeginEnd {
1087
1087
1088
1088
/// Build crtbegin.o/crtend.o for musl target.
1089
1089
fn run ( self , builder : & Builder < ' _ > ) -> Self :: Output {
1090
+ builder. update_submodule ( & Path :: new ( "src/llvm-project" ) ) ;
1091
+
1090
1092
let out_dir = builder. native_dir ( self . target ) . join ( "crt" ) ;
1091
1093
1092
1094
if builder. config . dry_run ( ) {
@@ -1153,6 +1155,8 @@ impl Step for Libunwind {
1153
1155
1154
1156
/// Build linunwind.a
1155
1157
fn run ( self , builder : & Builder < ' _ > ) -> Self :: Output {
1158
+ builder. update_submodule ( & Path :: new ( "src/llvm-project" ) ) ;
1159
+
1156
1160
if builder. config . dry_run ( ) {
1157
1161
return PathBuf :: new ( ) ;
1158
1162
}
You can’t perform that action at this time.
0 commit comments