diff --git a/utils/wasm-builder/src/prerequisites.rs b/utils/wasm-builder/src/prerequisites.rs index 9079cf7ed1a71..f5a985ab92b5d 100644 --- a/utils/wasm-builder/src/prerequisites.rs +++ b/utils/wasm-builder/src/prerequisites.rs @@ -39,8 +39,8 @@ pub(crate) fn check() -> Result { if !cargo_command.supports_substrate_wasm_env() { return Err(print_error_message( - "No rustc version found that supports our Substrate wasm environment! \ - Rustc version needs to be at least 1.68.0 or rustc nightly needs to be installed.", + "Cannot compile the WASM runtime: no compatible Rust compiler found!\n\ + Install at least Rust 1.68.0 or a recent nightly version.", )) }