mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-26 04:15:48 +00:00
16 lines
495 B
Diff
16 lines
495 B
Diff
--- a/src/bootstrap/lib.rs
|
|
+++ b/src/bootstrap/lib.rs
|
|
@@ -819,10 +819,9 @@
|
|
|
|
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"),
|
|
}
|
|
}
|
|
|