summaryrefslogtreecommitdiffstats
path: root/debian/patches/d-bootstrap-custom-debuginfo-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/d-bootstrap-custom-debuginfo-path.patch')
-rw-r--r--debian/patches/d-bootstrap-custom-debuginfo-path.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/d-bootstrap-custom-debuginfo-path.patch b/debian/patches/d-bootstrap-custom-debuginfo-path.patch
index e989666a1..39f246be1 100644
--- a/debian/patches/d-bootstrap-custom-debuginfo-path.patch
+++ b/debian/patches/d-bootstrap-custom-debuginfo-path.patch
@@ -12,12 +12,12 @@ Index: rust/src/bootstrap/lib.rs
===================================================================
--- rust.orig/src/bootstrap/lib.rs
+++ rust/src/bootstrap/lib.rs
-@@ -1110,10 +1110,9 @@ impl Build {
+@@ -1145,10 +1145,9 @@ impl Build {
match which {
GitRepo::Rustc => {
- let sha = self.rust_sha().unwrap_or(&self.version);
-- Some(format!("/rustc/{}", sha))
+- Some(format!("/rustc/{sha}"))
+ Some(format!("/usr/src/rustc-{}", &self.version))
}
- GitRepo::Llvm => Some(String::from("/rustc/llvm")),