Skip to content

Commit

Permalink
Merge pull request #39 from cagatay-y/main
Browse files Browse the repository at this point in the history
specify the toolchain for which llvm-tools is to be installed
  • Loading branch information
mkroening authored Apr 18, 2024
2 parents 5dae679 + df1ccee commit 9dee139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rftrace/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ fn binutil(name: &str) -> Result<PathBuf, String> {
let path = llvm_tools::LlvmTools::new()
.map_err(|err| match err {
llvm_tools::Error::NotFound =>
"Could not find llvm-tools component\n\
format!("Could not find llvm-tools component\n\
\n\
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()
,
err => format!("{err:?}"),
})?
Expand Down

0 comments on commit 9dee139

Please sign in to comment.