File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2282,6 +2282,10 @@ impl Step for LlvmTools {
22822282 }
22832283 }
22842284
2285+ if !builder. config . dry_run ( ) {
2286+ builder. require_submodule ( "src/llvm-project" , None ) ;
2287+ }
2288+
22852289 builder. ensure ( crate :: core:: build_steps:: llvm:: Llvm { target } ) ;
22862290
22872291 let mut tarball = Tarball :: new ( builder, "llvm-tools" , & target. triple ) ;
@@ -2400,6 +2404,10 @@ impl Step for RustDev {
24002404 }
24012405 }
24022406
2407+ if !builder. config . dry_run ( ) {
2408+ builder. require_submodule ( "src/llvm-project" , None ) ;
2409+ }
2410+
24032411 let mut tarball = Tarball :: new ( builder, "rust-dev" , & target. triple ) ;
24042412 tarball. set_overlay ( OverlayKind :: Llvm ) ;
24052413 // LLVM requires a shared object symlink to exist on some platforms.
You can’t perform that action at this time.
0 commit comments