diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-08-18 11:34:42 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-08-18 11:34:42 +0300 |
| commit | c7832b8d05d50478836532688ac90eb1d1ad9f23 (patch) | |
| tree | 94690cf98a6983fda6d839e58547967ffc2f7ba9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 37d56daac67f3c8411d25a41f0f4374e83a8b3d3 (diff) | |
| download | rust-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
