Skip to content

Commit

Permalink
Use TLSv1.3 with curl if specified at all
Browse files Browse the repository at this point in the history
The curl option specified to use TLSv1.2 explicity while nowadays 1.3
is availalble and recommended.
Switch to specifying 1.3 instead of 1.2.
  • Loading branch information
pothos authored May 26, 2022
1 parent 3ced044 commit 0c3c62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ installation of `rustup` and then install `nightly` along with `clippy` or
`miri`, first install `rustup` without a toolchain:

```console
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
curl --proto '=https' --tlsv1.3 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
```

Next you can install `nightly` allowing `rustup` to downgrade until it finds
Expand Down

0 comments on commit 0c3c62d

Please sign in to comment.