From dc619eef2b9fc6324da756e4a06e7c07e84913e8 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sat, 18 Sep 2021 11:45:21 +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 a47ddfbcc1..80ad71b0ac 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"), } } -- 2.30.2