Don't checkout submodules in bootstrap tests

This doesn't cause any tests to fail, and can greatly speed them up.
This commit is contained in:
Joshua Nelson 2022-04-21 21:27:15 -05:00
parent de1bc0008b
commit 8b94fbea01

View 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