avoid updating LLVM submodule during bootstrap unit tests

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2024-09-13 18:54:53 +03:00
parent d0985bb524
commit f03bfb871b

View File

@ -2739,6 +2739,8 @@ impl Config {
return false;
}
// Fetching the LLVM submodule is unnecessary for self-tests.
#[cfg(not(feature = "bootstrap-self-test"))]
self.update_submodule("src/llvm-project");
// Check for untracked changes in `src/llvm-project`.