We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62239a commit 9535151Copy full SHA for 9535151
src/bootstrap/src/lib.rs
@@ -488,7 +488,7 @@ impl Build {
488
}
489
self.config.update_submodule(submodule);
490
let absolute_path = self.config.src.join(submodule);
491
- if dir_is_empty(&absolute_path) {
+ if !absolute_path.exists() || dir_is_empty(&absolute_path) {
492
let maybe_enable = if !self.config.submodules()
493
&& self.config.rust_info.is_managed_git_subrepository()
494
{
0 commit comments