Rollup merge of #49750 - ishitatsuyuki:boot-no-fast, r=Mark-Simulacrum

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.

(Reopen of #49721)

r? @alexcrichton
This commit is contained in:
kennytm 2018-04-07 14:51:34 +08:00 committed by GitHub
commit 3e0b15f824
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()