From: Debian Rust Maintainers Date: Thu, 6 Aug 2020 20:11:39 +0000 (+0100) Subject: d-custom-debuginfo-path X-Git-Tag: archive/raspbian/1.45.0+dfsg1-2+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=615cd463cb01e8cc34a4299a2db71879e69fe1fb;p=rustc.git d-custom-debuginfo-path Gbp-Pq: Name d-custom-debuginfo-path.patch --- 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"), } }