Skip to content

Commit b034a96

Browse files
committed
Make installing easier
1 parent 0a9b05a commit b034a96

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

locales/en-US/tools.ftl

Lines changed: 5 additions & 1 deletion
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
@@ -150,7 +154,7 @@ install-other-methods-link = Learn more
150154
## components/tools/rustup.hbs
151155

152156
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.
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: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
55
</div>
66
<div id="platform-instructions-win" class="instructions dn">
7-
<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>
7+
<div>
8+
<p>{{fluent "tools-rustup-windows"}}</p>
9+
<div class="fl w-100 w-50-ns pa2">
10+
<a href="https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe" class="button button-secondary">{{fluent "install-rustup32-button"}}</a>
11+
</div>
12+
<div class="fl w-100 w-50-ns pa2">
13+
<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>
14+
</div>
15+
</div>
16+
<h2>{{fluent "tools-rustup-wsl-heading"}}</h2>
1017
<p>{{fluent "tools-rustup-wsl"}}</p>
1118
<pre><code class="db w-100">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</code></pre>
1219
</div>

0 commit comments

Comments
 (0)