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.
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/utils/wasm-builder/Cargo.toml 1 addition, 0 deletionssubstrate/utils/wasm-builder/Cargo.toml
- substrate/utils/wasm-builder/src/lib.rs 6 additions, 1 deletionsubstrate/utils/wasm-builder/src/lib.rs
- substrate/utils/wasm-builder/src/prerequisites.rs 37 additions, 10 deletionssubstrate/utils/wasm-builder/src/prerequisites.rs
- substrate/utils/wasm-builder/src/wasm_project.rs 1 addition, 1 deletionsubstrate/utils/wasm-builder/src/wasm_project.rs
Please register or sign in to comment