Rollup merge of #55343 - Keruspe:remap-debuginfo-release, r=alexcrichton
rustbuild: fix remap-debuginfo when building a release Fallback to the release number as we can't get the git commit sha as we're not in a git repository. Fixes #55341
This commit is contained in:
commit
2e1e8d2913
1 changed files with 1 additions and 1 deletions
|
@ -765,7 +765,7 @@ impl Build {
|
|||
|
||||
let path = match which {
|
||||
GitRepo::Rustc => {
|
||||
let sha = self.rust_info.sha().expect("failed to find sha");
|
||||
let sha = self.rust_sha().unwrap_or(channel::CFG_RELEASE_NUM);
|
||||
format!("/rustc/{}", sha)
|
||||
}
|
||||
GitRepo::Llvm => format!("/rustc/llvm"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue