ssvmup build 为什么编译失败

• One minute to read

更新 ssvmup 失败,提示如下的信息,该如何设置 Docker image 里的 .cargo config 呢?

[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...Finished release [optimized] target(s) in 0.52s
[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/ run with `RUST_BACKTRACE=1` environment variable to display a backtraceWell, this is embarrassing.

只需要在 hosts 文件中加上

Fast, safe, portable and serverless Rust functions as services