mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Fix llvm-profdata
extension on non Linux OSes
This commit is contained in:
parent
b8cf608cfe
commit
136bf7f734
@ -168,7 +168,7 @@ fn gather_pgo_profile<'a>(
|
||||
.read()
|
||||
.context("cannot resolve target-libdir from rustc")?;
|
||||
let target_bindir = PathBuf::from(target_libdir).parent().unwrap().join("bin");
|
||||
let llvm_profdata = target_bindir.join(format!("llvm-profdata{}", EXE_EXTENSION));
|
||||
let llvm_profdata = target_bindir.join("llvm-profdata").with_extension(EXE_EXTENSION);
|
||||
|
||||
// Build RA with PGO instrumentation
|
||||
let cmd_gather =
|
||||
|
Loading…
x
Reference in New Issue
Block a user