about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-21 03:36:21 +0000
committerbors <bors@rust-lang.org>2021-07-21 03:36:21 +0000
commitac575b64ed8ea2099a074e3e5bd9862a7513b1e4 (patch)
treea9213287a0690c8c99cb6f07f5a13eac5dd9bf05 /compiler/rustc_query_impl/src
parentfabf502a7a24dfd2dfbc33030cb3d4bad7496b81 (diff)
parent2ac0e9b6944bcff607e453ad8bd27800318de64f (diff)
downloadrust-ac575b64ed8ea2099a074e3e5bd9862a7513b1e4.tar.gz
rust-ac575b64ed8ea2099a074e3e5bd9862a7513b1e4.zip
Auto merge of #82653 - jyn514:submodules-on-demand, r=Mark-Simulacrum
Update all submodules that rustbuild doesn't depend on lazily

This only updates the submodules the first time they're needed, instead
of unconditionally the first time you run x.py.

Ideally, this would move *all* submodules to rustbuild and not exclude some tools and
backtrace. Unfortunately, cargo requires all `Cargo.toml` files in the
whole workspace to be present to build any crate.

On my machine, this takes the time for an initial submodule clone (for
`x.py --help`) from 55.70 to 15.87 seconds.

Helps with https://github.com/rust-lang/rust/issues/76653. Builds on https://github.com/rust-lang/rust/pull/86015 and should not be merged before (only the last commit is relevant).
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions