File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -530,9 +530,16 @@ If you need a more complex setup, rustup supports the convention used by
530
530
the __ curl__ program, documented in the ENVIRONMENT section of
531
531
[ its manual page] [ curlman ] .
532
532
533
- Note that some versions of ` libcurl ` apparently require you to drop the
534
- ` http:// ` or ` https:// ` prefix in environment variables. For example,
535
- ` export http_proxy=proxy.example.com:1080 ` (and likewise for HTTPS).
533
+ The use of ` curl ` is presently ** deprecated** , however it can still be used by
534
+ providing the ` RUSTUP_USE_CURL ` environment variable, for example:
535
+
536
+ ```
537
+ RUSTUP_USE_CURL=1 rustup update
538
+ ```
539
+
540
+ Note that some versions of ` libcurl ` apparently require you to drop the
541
+ ` http:// ` or ` https:// ` prefix in environment variables. For example,
542
+ ` export http_proxy=proxy.example.com:1080 ` (and likewise for HTTPS).
536
543
If you are getting an SSL ` unknown protocol ` error from ` rustup ` via ` libcurl `
537
544
but the command-line ` curl ` command works fine, this may be the problem.
538
545
You can’t perform that action at this time.
0 commit comments