Skip to content

Commit

Permalink
[skip-ci] add better error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on committed Jan 16, 2024
1 parent 6cdbc09 commit 9e5b362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/wasm-builder/src/builder_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ pub enum BuilderError {

#[error(
"recommended toolchain `{0}` not found, install it using the command:\n\
rustup toolchain install {0} --component llvm-tools --target wasm32-unknown-unknown"
rustup toolchain install {0} --component llvm-tools --target wasm32-unknown-unknown\n\n\
after installation, do not forget to set `channel = \"{0}\"` in `rust-toolchain.toml` file"
)]
RecommendedToolchainNotFound(String),
}

0 comments on commit 9e5b362

Please sign in to comment.