diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index dffc6cec4d2..4569f07a0cb 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -646,6 +646,11 @@ impl Build { // Look for `submodule.$name.path = $path` // Sample output: `submodule.src/rust-installer.path src/tools/rust-installer` let submodule = Path::new(line.splitn(2, ' ').nth(1).unwrap()); + + if submodule == std::ffi::OsStr::new("yggdrasil-rt") { + continue; + } + // Don't update the submodule unless it's already been cloned. if channel::GitInfo::new(false, submodule).is_managed_git_subrepository() { self.update_submodule(submodule);