diff options
| author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2018-04-06 16:23:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-06 16:23:53 +0900 |
| commit | 4c51d47269a2610db6fde2660aac9aad3e10b4e2 (patch) | |
| tree | e691a5d3b24534bbc6573a72c54f3f784218f457 | |
| parent | 48fa6f9631868b07309b02f479e2ec523bb58c2b (diff) | |
| download | rust-4c51d47269a2610db6fde2660aac9aad3e10b4e2.tar.gz rust-4c51d47269a2610db6fde2660aac9aad3e10b4e2.zip | |
bootstrap: Remove the fast path
This is rarely noticed, but when you have old submodules, not updating them will cause you run into https://github.com/rust-lang/cargo/issues/4678.
| -rw-r--r-- | src/bootstrap/bootstrap.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index cf54591f25c..487440becf6 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -770,10 +770,7 @@ def bootstrap(help_triggered): if 'dev' in data: build.set_dev_environment() - # No help text depends on submodules. This check saves ~1 minute of git commands, even if - # all the submodules are present and downloaded! - if not help_triggered: - build.update_submodules() + build.update_submodules() # Fetch/build the bootstrap build.build = args.build or build.build_triple() |
