about summary refs log tree commit diff
path: root/src/bootstrap/builder
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-04-21 21:27:15 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-04-21 21:27:15 -0500
commit8b94fbea01fe73bfeadc81a43051bb12efbd40c0 (patch)
tree8cc6723f2ccfc3d015bc363541b097492ca162b5 /src/bootstrap/builder
parentde1bc0008be096cf7ed67b93402250d3b3e480d0 (diff)
downloadrust-8b94fbea01fe73bfeadc81a43051bb12efbd40c0.tar.gz
rust-8b94fbea01fe73bfeadc81a43051bb12efbd40c0.zip
Don't checkout submodules in bootstrap tests
This doesn't cause any tests to fail, and can greatly speed them up.
Diffstat (limited to 'src/bootstrap/builder')
-rw-r--r--src/bootstrap/builder/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs
index a59f72ed968..0d321f13911 100644
--- a/src/bootstrap/builder/tests.rs
+++ b/src/bootstrap/builder/tests.rs
@@ -7,6 +7,7 @@ fn configure(cmd: &str, host: &[&str], target: &[&str]) -> Config {
     // don't save toolstates
     config.save_toolstates = None;
     config.dry_run = true;
+    config.submodules = Some(false);
     config.ninja_in_file = false;
     // try to avoid spurious failures in dist where we create/delete each others file
     // HACK: rather than pull in `tempdir`, use the one that cargo has conveniently created for us