ssvmup build 为什么编译失败

Jan 01, 2020 • 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/mod.rs:182:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Well, this is embarrassing.

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

RustWebAssemblyQ&Assvmup
A high-performance, extensible, and hardware optimized WebAssembly Virtual Machine for automotive, cloud, AI, and blockchain applications