Various fixups to website
Use new cURL invocation everywhere.
Fix naming of macOS.
Remove deprecated `language` attribute of `script` element.
<div id="platform-instructions-unix" class="instructions" style="display: none;">
<p>Run the following in your terminal, then follow the onscreen instructions.</p>
- <pre>curl https://sh.rustup.rs -sSf | sh</pre>
+ <pre>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
<p class="other-platforms-help">You appear to be running Unix. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
</div>
then follow the onscreen instructions.
</p>
<p>If you're a Windows Subsystem for Linux user run the following in your terminal, then follow the onscreen instructions to install Rust.</p>
- <pre>curl https://sh.rustup.rs -sSf | sh</pre>
+ <pre>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
<p class="other-platforms-help">You appear to be running Windows 64-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
</div>
<!-- unrecognized platform: ask for help -->
<p>I don't recognize your platform.</p>
<p>
- rustup runs on Windows, Linux, Mac OS X, FreeBSD and NetBSD. If
+ rustup runs on Windows, Linux, macOS, FreeBSD and NetBSD. If
you are on one of these platforms and are seeing this then please
<a href="https://github.com/rust-lang/rustup.rs/issues/new">report an issue</a>,
along with the following values:
<!-- duplicate the default cross-platform instructions -->
<div>
<p>If you are running Unix,<br/>run the following in your terminal, then follow the onscreen instructions.</p>
- <pre>curl https://sh.rustup.rs -sSf | sh</pre>
+ <pre>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
</div>
<hr/>
<div>
<p>To install Rust, if you are running Unix,<br/>run the following
in your terminal, then follow the onscreen instructions.</p>
- <pre>curl https://sh.rustup.rs -sSf | sh</pre>
+ <pre>curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>
</div>
<hr/>
<a href="https://github.com/rust-lang/rustup.rs">about rustup</a>
</p>
-<script type="text/javascript" src="rustup.js"></script>
+<script src="rustup.js"></script>
