本文介绍了Rustup说协议“https” libcurl中不支持或禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图使用Rustup一段时间,当我尝试用它做任何事情时它会说:

I have been trying to use Rustup for a while now and it says this when I try to do anything with it:

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

我知道cURL已启用HTTPS - 我只是尝试使用它并且工作正常。

I know that cURL has HTTPS enabled — I just tried using it and it worked fine.

推荐答案

可能不是你想听到的,但他们有。

Probably not what you want to hear, but they have known issues at the moment with ARM.

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

This workaround seems to work for me:


  • 直接从

  • env RUSTUP_USE_HYPER = 1 ./rustup-init

  • Directly download rustup-init from https://github.com/rust-lang-nursery/rustup.rs for your platform
  • env RUSTUP_USE_HYPER=1 ./rustup-init

它也应该在运行生锈脚本之前,工作到导出RUSTUP_USE_HYPER = 1 (假设你没有使用tcsh),但上面是我测试和使用的。

It should also work to export RUSTUP_USE_HYPER=1 (assuming you aren't using tcsh) before running the rustup script, but the above is what I tested and used.

这篇关于Rustup说协议“https” libcurl中不支持或禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-01 19:52