End build when wasm-builder does not find a prerequisite (#3030)

* End build when `wasm-builder` does not find a prerequisite

Using `compile_error!` was a stupid idea by me, as rust would not
re-execute the build.rs.

* Increment the `wasm-builder` version

* Update core/utils/wasm-builder/src/lib.rs

Co-Authored-By: André Silva <andre.beat@gmail.com>
This commit is contained in:
Bastian Köcher
2019-07-05 15:02:14 +02:00
committed by GitHub
parent 22ec13cf65
commit 0ed2b26c96
8 changed files with 12 additions and 20 deletions
@@ -33,7 +33,7 @@ pub fn check() -> Option<&'static str> {
.status()
.map(|s| !s.success()).unwrap_or(true)
{
return Some("wasm-gc not installed, please install it!")
return Some("`wasm-gc` not installed, please install it!")
}
if !check_wasm_toolchain_installed() {