From 615cd463cb01e8cc34a4299a2db71879e69fe1fb Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 6 Aug 2020 21:11:39 +0100 Subject: [PATCH] d-custom-debuginfo-path Gbp-Pq: Name d-custom-debuginfo-path.patch --- src/bootstrap/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index c46c68e4d5..b8a245dacf 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -769,10 +769,9 @@ impl Build { 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"), } } -- 2.30.2