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 6642f8d commit 2c6222bCopy full SHA for 2c6222b
src/bootstrap/src/lib.rs
@@ -583,7 +583,8 @@ impl Build {
583
/// If any submodule has been initialized already, sync it unconditionally.
584
/// This avoids contributors checking in a submodule change by accident.
585
fn update_existing_submodules(&self) {
586
- // Avoid running git when there isn't a git checkout.
+ // Avoid running git when there isn't a git checkout, or the user has
587
+ // explicitly disabled submodules in `config.toml`.
588
if !self.config.submodules(self.rust_info()) {
589
return;
590
}
0 commit comments