From: Debian Rust Maintainers Date: Fri, 19 Nov 2021 21:58:46 +0000 (+0000) Subject: d-custom-debuginfo-path X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7d1dee7be5f928d002c7a7f6d63185ad0cc83185;p=rustc-mozilla.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 88fdcfa2d..7344a770c 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -815,10 +815,9 @@ impl Build { match which { GitRepo::Rustc => { - let sha = self.rust_sha().unwrap_or(&self.version); - Some(format!("/rustc/{}", sha)) + Some(format!("/usr/src/rustc-{}", &self.version)) } - GitRepo::Llvm => Some(String::from("/rustc/llvm")), + GitRepo::Llvm => panic!("GitRepo::Llvm unsupported on Debian"), } }