From acc780df9e37c05c358900bba4976a41cf3c4950 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Wed, 29 Jan 2025 01:06:17 +0800 Subject: rust: updated to 1.84.0 --- repos/extra/rust/fix-bootstrap.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 repos/extra/rust/fix-bootstrap.patch (limited to 'repos/extra/rust/fix-bootstrap.patch') diff --git a/repos/extra/rust/fix-bootstrap.patch b/repos/extra/rust/fix-bootstrap.patch new file mode 100755 index 00000000..9d945932 --- /dev/null +++ b/repos/extra/rust/fix-bootstrap.patch @@ -0,0 +1,14 @@ +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() { -- cgit v1.2.3