We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f916ab + 46a2809 commit 746dab2Copy full SHA for 746dab2
1 file changed
xtask/src/pgo.rs
@@ -91,7 +91,7 @@ fn download_crate_for_training(sh: &Shell, pgo_dir: &Path, repo: &str) -> anyhow
91
let target_path = pgo_dir.join(normalized_path);
92
cmd!(sh, "git clone --depth 1 https://github.com/{repo} {revision...} {target_path}")
93
.run()
94
- .with_context(|| "cannot download PGO training crate from {repo}")?;
+ .with_context(|| format!("cannot download PGO training crate from {repo}"))?;
95
96
Ok(target_path)
97
}
0 commit comments