alnyan/yggdrasil: temporary hack: don't auto-checkout yggdrasil-rt
This commit is contained in:
@@ -646,6 +646,11 @@ impl Build {
|
|||||||
// Look for `submodule.$name.path = $path`
|
// Look for `submodule.$name.path = $path`
|
||||||
// Sample output: `submodule.src/rust-installer.path src/tools/rust-installer`
|
// Sample output: `submodule.src/rust-installer.path src/tools/rust-installer`
|
||||||
let submodule = Path::new(line.splitn(2, ' ').nth(1).unwrap());
|
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.
|
// Don't update the submodule unless it's already been cloned.
|
||||||
if channel::GitInfo::new(false, submodule).is_managed_git_subrepository() {
|
if channel::GitInfo::new(false, submodule).is_managed_git_subrepository() {
|
||||||
self.update_submodule(submodule);
|
self.update_submodule(submodule);
|
||||||
|
|||||||
Reference in New Issue
Block a user