From cb8a4180c53c87c50e0e588556cc427d6256a268 Mon Sep 17 00:00:00 2001 From: Yerkebulan Tulibergenov <yerkebulan@gmail.com> Date: Fri, 16 Jun 2023 23:49:45 -0700 Subject: [PATCH] Use installation instruction with rustup as recommended in forge and rustup --- templates/components/tools/rustup.html.hbs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/components/tools/rustup.html.hbs b/templates/components/tools/rustup.html.hbs index abac3b140..a5ea18233 100644 --- a/templates/components/tools/rustup.html.hbs +++ b/templates/components/tools/rustup.html.hbs @@ -1,7 +1,7 @@ <div class="row"> <div id="platform-instructions-unix" class="instructions db"> <p>{{fluent "tools-rustup-unixy"}}</p> - <pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre> + <pre><code class="db w-100">curl https://sh.rustup.rs -sSf | sh</code></pre> </div> <div id="platform-instructions-win" class="instructions dn"> <p>{{fluent "tools-rustup-windows-2"}}</p> @@ -17,7 +17,7 @@ </div> <h3 class="mt4">{{fluent "tools-rustup-wsl-heading"}}</h3> <p>{{fluent "tools-rustup-wsl"}}</p> - <pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre> + <pre><code class="db w-100">curl https://sh.rustup.rs -sSf | sh</code></pre> </div> <div id="platform-instructions-unknown" class="instructions dn"> <!-- unrecognized platform: ask for help --> @@ -39,7 +39,7 @@ <p> {{fluent "tools-rustup-manual-unixy"}} </p> - <code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code> + <code class="db w-100">curl https://sh.rustup.rs -sSf | sh</code> </div> <hr> <div> @@ -53,7 +53,7 @@ <p> {{tools-rustup-manual-default}} </p> - <pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre> + <pre><code class="db w-100">curl https://sh.rustup.rs -sSf | sh</code></pre> </div> <hr> <div>