summaryrefslogtreecommitdiffstats
path: root/debian/patches/d-bootstrap-custom-debuginfo-path.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:32 +0000
commit1a31e36639a94eab1afa78c1a32d876cb36f9d0d (patch)
treedd99e70862e73b1f175941b6e2b353f32cf02e73 /debian/patches/d-bootstrap-custom-debuginfo-path.patch
parentMerging upstream version 1.73.0+dfsg1. (diff)
downloadrustc-1a31e36639a94eab1afa78c1a32d876cb36f9d0d.tar.xz
rustc-1a31e36639a94eab1afa78c1a32d876cb36f9d0d.zip
Adding debian version 1.73.0+dfsg1-1.debian/1.73.0+dfsg1-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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")),