mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-22 02:14:41 -07:00
15 lines
764 B
Diff
15 lines
764 B
Diff
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
|
|
index e706aba..35d69a6 100644
|
|
--- a/src/bootstrap/src/core/config/config.rs
|
|
+++ b/src/bootstrap/src/core/config/config.rs
|
|
@@ -2786,8 +2786,7 @@ impl Config {
|
|
|
|
// If `download-rustc` is not set, default to rebuilding.
|
|
let if_unchanged = match download_rustc {
|
|
- None => self.rust_info.is_managed_git_subrepository(),
|
|
- Some(StringOrBool::Bool(false)) => return None,
|
|
+ None | Some(StringOrBool::Bool(false)) => return None,
|
|
Some(StringOrBool::Bool(true)) => false,
|
|
Some(StringOrBool::String(s)) if s == "if-unchanged" => {
|
|
if !self.rust_info.is_managed_git_subrepository() {
|