ssvmup build 为什么编译失败

• One minute to read

[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { description: "Couldn\'t connect to server", code: 7, extra: None }', src/install/
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Well, this is embarrassing.

当运行 ssvmup build ,报这样的错误时,多半是因为没有网络连接。ssvmup build 必须从服务器获取最新版本的 wasm_bindgen 二进制文件,因此执行 ssvmup build 一定要连接网络。

Fast, safe, portable and serverless Rust functions as services