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 {
2282
2282
}
2283
2283
}
2284
2284
2285
+ if !builder. config . dry_run ( ) {
2286
+ builder. require_submodule ( "src/llvm-project" , None ) ;
2287
+ }
2288
+
2285
2289
builder. ensure ( crate :: core:: build_steps:: llvm:: Llvm { target } ) ;
2286
2290
2287
2291
let mut tarball = Tarball :: new ( builder, "llvm-tools" , & target. triple ) ;
@@ -2400,6 +2404,10 @@ impl Step for RustDev {
2400
2404
}
2401
2405
}
2402
2406
2407
+ if !builder. config . dry_run ( ) {
2408
+ builder. require_submodule ( "src/llvm-project" , None ) ;
2409
+ }
2410
+
2403
2411
let mut tarball = Tarball :: new ( builder, "rust-dev" , & target. triple ) ;
2404
2412
tarball. set_overlay ( OverlayKind :: Llvm ) ;
2405
2413
// LLVM requires a shared object symlink to exist on some platforms.
You can’t perform that action at this time.
0 commit comments