]> git.lizzy.rs Git - rust.git/commitdiff
Don't checkout submodules in bootstrap tests
authorJoshua Nelson <jnelson@cloudflare.com>
Fri, 22 Apr 2022 02:27:15 +0000 (21:27 -0500)
committerJoshua Nelson <jnelson@cloudflare.com>
Fri, 22 Apr 2022 02:27:15 +0000 (21:27 -0500)
This doesn't cause any tests to fail, and can greatly speed them up.

src/bootstrap/builder/tests.rs

index a59f72ed968b4bac5f5f486efb0b378cc40c934f..0d321f139118a04c5bee9ebe06722a03a11bad27 100644 (file)
@@ -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