Improve error output of wasm-builder when wasm ins't installed (#7105)

This improves the error message of wasm-builder when the wasm toolchain
isn't installed. Currently we print that the wasm toolchain is not
installed, but the actual problem is that there is a bug in the
packaging in rust. This will now be much easier to debug, by printing
the full error message of the compiler.
This commit is contained in:
Bastian Köcher
2020-09-15 11:42:23 +02:00
committed by GitHub
parent 3d94d80309
commit 9dd5812eaf
5 changed files with 46 additions and 12 deletions
+1
View File
@@ -8858,6 +8858,7 @@ dependencies = [
name = "substrate-wasm-builder"
version = "2.0.0"
dependencies = [
"ansi_term 0.12.1",
"atty",
"build-helper",
"cargo_metadata",