mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 21:23:20 +00:00
whoops
This commit is contained in:
parent
1e9595e116
commit
0fe1359885
@ -48,7 +48,7 @@ pub fn cc2ar(cc: &Path, target: &str) -> PathBuf {
|
||||
for suffix in &["gcc", "cc", "clang"] {
|
||||
if let Some(idx) = file.rfind(suffix) {
|
||||
let mut file = file[..idx].to_owned();
|
||||
file.push_str(suffix);
|
||||
file.push_str("ar");
|
||||
return parent.join(&file);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user