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

只需要在 hosts 文件中加上 199.232.4.133 raw.githubusercontent.com

RustWebAssemblyQ&Assvmup
Fast, safe, portable and serverless Rust functions as services