We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5dae679 + df1ccee commit 9dee139Copy full SHA for 9dee139
rftrace/build.rs
@@ -182,9 +182,9 @@ fn binutil(name: &str) -> Result<PathBuf, String> {
182
let path = llvm_tools::LlvmTools::new()
183
.map_err(|err| match err {
184
llvm_tools::Error::NotFound =>
185
- "Could not find llvm-tools component\n\
+ format!("Could not find llvm-tools component\n\
186
\n\
187
- Maybe the rustup component `llvm-tools` is missing? Install it through: `rustup component add llvm-tools`".to_string()
+ Maybe the rustup component `llvm-tools` is missing? Install it through: `rustup component add --toolchain={} llvm-tools`", env::var("RUSTUP_TOOLCHAIN").unwrap()).to_string()
188
,
189
err => format!("{err:?}"),
190
})?
0 commit comments