Rustup 说协议 "https" 在 libcurl 中不受支持或禁用

Rustup says protocol "https" not supported or disabled in libcurl

我已经尝试使用 Rustup 一段时间了,当我尝试用它做任何事情时它会这样说:

info: caused by: [1] Unsupported protocol (Protocol "https" not supported or disabled in libcurl)

我知道 cURL 启用了 HTTPS — 我刚刚尝试使用它并且效果很好。

可能不是您想听到的,但他们有known issues at the moment with ARM

这个解决方法似乎对我有用:

在 运行 rustup 脚本之前,它也应该适用于 export RUSTUP_USE_HYPER=1(假设你没有使用 tcsh),但以上是我测试和使用的。