From cd6e96a43e194d3b7dfc6596141961c66468b467 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Sun, 20 Dec 2020 18:52:10 +0000 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 852316a8d8..ecb8abb45c 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -797,10 +797,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