Skip to content

Commit 4c51d47

Browse files
bootstrap: Remove the fast path
This is rarely noticed, but when you have old submodules, not updating them will cause you run into rust-lang/cargo#4678.
1 parent 48fa6f9 commit 4c51d47

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/bootstrap/bootstrap.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,7 @@ def bootstrap(help_triggered):
770770
if 'dev' in data:
771771
build.set_dev_environment()
772772

773-
# No help text depends on submodules. This check saves ~1 minute of git commands, even if
774-
# all the submodules are present and downloaded!
775-
if not help_triggered:
776-
build.update_submodules()
773+
build.update_submodules()
777774

778775
# Fetch/build the bootstrap
779776
build.build = args.build or build.build_triple()

0 commit comments

Comments
 (0)