Skip to content

Commit 82bf583

Browse files
committed
Make install page easier
1 parent 0a9b05a commit 82bf583

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

locales/en-US/tools.ftl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ tools-install-page-title = Install Rust
6060
6161
install-using-rustup-heading = Using rustup (Recommended)
6262
63+
install-rustup32-button = Download rustup-init.exe (32-bit)
64+
65+
install-rustup64-button = Download rustup-init.exe (64-bit)
66+
6367
install-notes-heading = Notes about Rust installation
6468
6569
install-notes-getting-started-description = If you're just getting started with
@@ -149,8 +153,8 @@ install-other-methods-link = Learn more
149153
150154
## components/tools/rustup.hbs
151155

152-
tools-rustup-unixy = It looks like you’re running macOS, Linux, or another Unix-like OS. To download Rustup and install Rust, run the following in your terminal, then follow the on-screen instructions.
153-
tools-rustup-windows = It looks like you’re running Windows. To install Rust, download and run the following, and then follow the onscreen instructions.
156+
tools-rustup-unixy = It looks like you’re running macOS, Linux, or another Unix-like OS. To download Rustup and install Rust, run the following in your terminal, then follow the on-screen instructions. If you are using Windows, <a href="https://forge.rust-lang.org/infra/other-installation-methods.html">click here</a>
157+
tools-rustup-windows = It looks like you’re running Windows. To start using Rust, download the installer, then run the program and follow the onscreen instructions. If you are not using Windows, <a href="https://forge.rust-lang.org/infra/other-installation-methods.html">click here</a>
154158
tools-rustup-wsl-heading = Windows Subsystem for Linux
155159
tools-rustup-wsl = If you’re a Windows Subsystem for Linux user run the following in your terminal, then follow the on-screen instructions to install Rust.
156160
tools-rustup-unknown = Rust runs on Windows, Linux, macOS, FreeBSD and NetBSD. If you are on one of these platforms and are seeing this then please report an issue with the following values:

templates/components/tools/rustup.hbs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@
55
</div>
66
<div id="platform-instructions-win" class="instructions dn">
77
<p>{{fluent "tools-rustup-windows"}}</p>
8-
<a href="https://win.rustup.rs" class="button button-secondary">rustup‑init.exe</a>
9-
<p><b>{{fluent "tools-rustup-wsl-heading"}}</b></p>
8+
<div class="fl w-100 w-50-ns pa2">
9+
<a href="https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe" class="button button-secondary">{{fluent "install-rustup64-button"}}</a>
10+
</div>
11+
<div class="fl w-100 w-50-ns pa2">
12+
<a href="https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe" class="button button-secondary">{{fluent "install-rustup64-button"}}</a>
13+
</div>
14+
<h3>{{fluent "tools-rustup-wsl-heading"}}</h3>
1015
<p>{{fluent "tools-rustup-wsl"}}</p>
1116
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
1217
</div>

0 commit comments

Comments
 (0)