cargo build config-rs的一个examples报的错误。 请教一下,可以修改哪里的配置解决问题?
⫸ ping crates.longhash.com.cn
PING crates.longhash.com.cn (39.100.77.211): 56 data bytes
64 bytes from 39.100.77.211: icmp_seq=0 ttl=48 time=36.159 ms
64 bytes from 39.100.77.211: icmp_seq=1 ttl=48 time=36.237 ms
64 bytes from 39.100.77.211: icmp_seq=2 ttl=48 time=42.984 ms
^C
--- crates.longhash.com.cn ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 36.159/38.460/42.984/3.199 ms
[n] /o/r/c/e/simple ☭ master ● (^._.^)ノ彡ミ
⫸ cargo build
warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to crates.longhash.com.cn port 80: Connection refused)
warning: spurious network error (2 tries remaining): [7] Couldn't connect to server (Failed to connect to crates.longhash.com.cn port 80: Connection refused)
warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to crates.longhash.com.cn port 80: Connection refused)
warning: spurious network error (1 tries remaining): [7] Couldn't connect to server (Failed to connect to crates.longhash.com.cn port 80: Connection refused)
error: failed to download from `http://crates.longhash.com.cn/api/v1/crates/rust-ini/0.13.0/download`
Caused by:
[7] Couldn't connect to server (Failed to connect to crates.longhash.com.cn port 80: Connection refused)
Ext Link: https://github.com/mehcode/config-rs/tree/master/examples/simple
1
共 1 条评论, 1 页
评论区
写评论域名备案出了点问题,在修。可能要一两天。
先切换到 USTC 的源去吧。