问题
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)
I know that cURL has HTTPS enabled — I just tried using it and it worked fine.
回答1:
Probably not what you want to hear, but they have known issues at the moment with ARM.
This workaround seems to work for me:
- Directly download rustup-init from https://github.com/rust-lang-nursery/rustup.rs for your platform
env RUSTUP_USE_HYPER=1 ./rustup-init
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.
来源:https://stackoverflow.com/questions/43379976/rustup-says-protocol-https-not-supported-or-disabled-in-libcurl