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.
This commit is contained in:
Tatsuyuki Ishi 2018-04-06 16:23:53 +09:00 committed by GitHub
parent 48fa6f9631
commit 4c51d47269
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()