about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-08-18 11:34:42 +0300
committeronur-ozkan <work@onurozkan.dev>2024-08-18 11:34:42 +0300
commitc7832b8d05d50478836532688ac90eb1d1ad9f23 (patch)
tree94690cf98a6983fda6d839e58547967ffc2f7ba9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent37d56daac67f3c8411d25a41f0f4374e83a8b3d3 (diff)
downloadrust-c7832b8d05d50478836532688ac90eb1d1ad9f23.tar.gz
rust-c7832b8d05d50478836532688ac90eb1d1ad9f23.zip
move `Build::update_submodule` to `Config::update_submodule`
During config parsing, some bootstrap logic (e.g., `download-ci-llvm`) checks certain sources
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` instance, so we can access to it during the parsing process.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions