We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
llvm-profdata
1 parent 983dc81 commit 31b7859Copy full SHA for 31b7859
xtask/src/dist.rs
@@ -171,7 +171,7 @@ fn gather_pgo_profile<'a>(
171
.read()
172
.context("cannot resolve target-libdir from rustc")?;
173
let target_bindir = PathBuf::from(target_libdir).parent().unwrap().join("bin");
174
- let llvm_profdata = target_bindir.join(format!("llvm-profdata{}", EXE_EXTENSION));
+ let llvm_profdata = target_bindir.join("llvm-profdata").with_extension(EXE_EXTENSION);
175
176
// Build RA with PGO instrumentation
177
let cmd_gather =
0 commit comments