Skip to content

Commit

Permalink
bootstrap: Remove the fast path
Browse files Browse the repository at this point in the history
This is rarely noticed, but when you have old submodules, not updating them will cause you run into rust-lang/cargo#4678.
  • Loading branch information
ishitatsuyuki committed Apr 6, 2018
1 parent 48fa6f9 commit 4c51d47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/bootstrap/bootstrap.py
Expand Up @@ -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()
Expand Down

0 comments on commit 4c51d47

Please sign in to comment.