diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:59:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:59:32 +0000 |
commit | 1a31e36639a94eab1afa78c1a32d876cb36f9d0d (patch) | |
tree | dd99e70862e73b1f175941b6e2b353f32cf02e73 /debian/patches/d-bootstrap-custom-debuginfo-path.patch | |
parent | Merging upstream version 1.73.0+dfsg1. (diff) | |
download | rustc-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.patch | 4 |
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")), |