diff options
| author | bors <bors@rust-lang.org> | 2021-07-21 03:36:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-21 03:36:21 +0000 |
| commit | ac575b64ed8ea2099a074e3e5bd9862a7513b1e4 (patch) | |
| tree | a9213287a0690c8c99cb6f07f5a13eac5dd9bf05 /compiler/rustc_query_impl/src | |
| parent | fabf502a7a24dfd2dfbc33030cb3d4bad7496b81 (diff) | |
| parent | 2ac0e9b6944bcff607e453ad8bd27800318de64f (diff) | |
| download | rust-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
