We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b022d8 commit d2203adCopy full SHA for d2203ad
src/bootstrap/src/core/config/config.rs
@@ -2767,7 +2767,7 @@ impl Config {
2767
),
2768
)]
2769
pub(crate) fn update_submodule(&self, relative_path: &str) {
2770
- if !self.submodules() {
+ if self.rust_info.is_from_tarball() || !self.submodules() {
2771
return;
2772
}
2773
src/bootstrap/src/lib.rs
@@ -481,6 +481,10 @@ impl Build {
481
482
483
pub fn require_submodule(&self, submodule: &str, err_hint: Option<&str>) {
484
+ if self.rust_info().is_from_tarball() {
485
+ return;
486
+ }
487
+
488
// When testing bootstrap itself, it is much faster to ignore
489
// submodules. Almost all Steps work fine without their submodules.
490
if cfg!(test) && !self.config.submodules() {
0 commit comments