Skip to content

Commit f03bfb8

Browse files
committed
avoid updating LLVM submodule during bootstrap unit tests
Signed-off-by: onur-ozkan <[email protected]>
1 parent d0985bb commit f03bfb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: 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)