wasm-pack 安装错误:failed to run custom build command for `openssl-sys v0.9.87`
尝试修改项目 Cargo.toml
[dependencies]
openssl = { version = "0.10", features = ["vendored"] }
https://github.com/sfackler/rust-openssl/issues/1021
无效,因为是执行 cargo install wasm-pack
命令失败。
解决办法
直接去Github下载:https://github.com/rustwasm/wasm-pack