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

posted @ 2023-04-25 11:29  develon  阅读(89)  评论(0编辑  收藏  举报