Don't checkout the LLVM submodule in x dist --dry-run
We don't actually need it and it's quite slow.
This commit is contained in:
parent
2b3db1cd5a
commit
fb3ac44dd8
1 changed files with 3 additions and 1 deletions
|
|
@ -902,7 +902,9 @@ impl Step for Src {
|
|||
|
||||
/// Creates the `rust-src` installer component
|
||||
fn run(self, builder: &Builder<'_>) -> GeneratedTarball {
|
||||
builder.update_submodule(&Path::new("src/llvm-project"));
|
||||
if !builder.config.dry_run() {
|
||||
builder.update_submodule(&Path::new("src/llvm-project"));
|
||||
}
|
||||
|
||||
let tarball = Tarball::new_targetless(builder, "rust-src");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue