Package: rustc / 1.46.0+dfsg1-1

d-custom-debuginfo-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -747,10 +747,9 @@
 
         match which {
             GitRepo::Rustc => {
-                let sha = self.rust_sha().unwrap_or(channel::CFG_RELEASE_NUM);
-                Some(format!("/rustc/{}", sha))
+                Some(format!("/usr/src/rustc-{}", channel::CFG_RELEASE_NUM))
             }
-            GitRepo::Llvm => Some(String::from("/rustc/llvm")),
+            GitRepo::Llvm => panic!("GitRepo::Llvm unsupported on Debian"),
         }
     }