If llvm with wasm32-unknown-unknown is not installed, the compilation would error with something similar to
warning: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning: 1 error generated.
warning: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning: 1 error generated.
error: failed to run custom build command for `secp256k1-sys v0.9.2`
If
llvm
withwasm32-unknown-unknown
is not installed, the compilation would error with something similar toSee https://github.com/rust-bitcoin/rust-bitcoin/issues/2331 for more details.