about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-21 19:35:13 +0200
committerGitHub <noreply@github.com>2024-08-21 19:35:13 +0200
commita08a2ef1b7e02f61ef3a86eeeeace1329e9935c5 (patch)
tree50e3c066a60f0711e78c4055b3573a6a0ebaa9ef /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent9fd8a2c3af30485c9c0865a2bcae0448bba2dee6 (diff)
parentd2d8fa499407d48877c939627914a999bc5ff458 (diff)
downloadrust-a08a2ef1b7e02f61ef3a86eeeeace1329e9935c5.tar.gz
rust-a08a2ef1b7e02f61ef3a86eeeeace1329e9935c5.zip
Rollup merge of #129231 - onur-ozkan:improve-submodule-updates, r=Mark-Simulacrum
improve submodule updates

During config parsing, some bootstrap logic (e.g., `download-ci-llvm`) checks certain sources (for `download-ci-llvm`, it's `src/llvm-project`) and acts based on their state. This means that if path is a git submodule, bootstrap needs to update it before checking its state. Otherwise it may make incorrect assumptions by relying on outdated sources. To enable submodule updates during config parsing, we need to move the `update_submodule` function from the `Build` to `Config`, so we can access to it during the parsing process.

Closes #122787
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions