Skip to content

Commit cbd3523

Browse files
authored
Unrolled build for rust-lang#130306
Rollup merge of rust-lang#130306 - onur-ozkan:avoid-submodule-updates-in-tests, r=Kobzol avoid updating LLVM submodule during bootstrap unit tests To test this, make sure you don't have `src/llvm-project` fetched and then set `llvm.download-ci-llvm=true` and run `x test bootstrap`.
2 parents 23b04c0 + f03bfb8 commit cbd3523

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/config/config.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,8 @@ impl Config {
27392739
return false;
27402740
}
27412741

2742+
// Fetching the LLVM submodule is unnecessary for self-tests.
2743+
#[cfg(not(feature = "bootstrap-self-test"))]
27422744
self.update_submodule("src/llvm-project");
27432745

27442746
// Check for untracked changes in `src/llvm-project`.

0 commit comments

Comments
 (0)