Skip to content

Commit 8b94fbe

Browse files
committed
Don't checkout submodules in bootstrap tests
This doesn't cause any tests to fail, and can greatly speed them up.
1 parent de1bc00 commit 8b94fbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/builder/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ fn configure(cmd: &str, host: &[&str], target: &[&str]) -> Config {
77
// don't save toolstates
88
config.save_toolstates = None;
99
config.dry_run = true;
10+
config.submodules = Some(false);
1011
config.ninja_in_file = false;
1112
// try to avoid spurious failures in dist where we create/delete each others file
1213
// HACK: rather than pull in `tempdir`, use the one that cargo has conveniently created for us

0 commit comments

Comments
 (0)