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 b8cf608 commit 136bf7fCopy full SHA for 136bf7f
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