We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
llvm-profdata
1 parent d9b61b3 commit 38eea1bCopy full SHA for 38eea1b
src/tools/rust-analyzer/xtask/src/dist.rs
@@ -168,7 +168,7 @@ fn gather_pgo_profile<'a>(
168
.read()
169
.context("cannot resolve target-libdir from rustc")?;
170
let target_bindir = PathBuf::from(target_libdir).parent().unwrap().join("bin");
171
- let llvm_profdata = target_bindir.join(format!("llvm-profdata{}", EXE_EXTENSION));
+ let llvm_profdata = target_bindir.join("llvm-profdata").with_extension(EXE_EXTENSION);
172
173
// Build RA with PGO instrumentation
174
let cmd_gather =
0 commit comments