diff --git a/_config.yml b/_config.yml index 81b9ab3fb..c7480ffd6 100644 --- a/_config.yml +++ b/_config.yml @@ -2,6 +2,17 @@ name: The Rust Programming Language stable: "1.13.0" stable_date: "2016-11-10" stable_blog: "/2016/11/10/Rust-1.13.html" +stable_full_version: "rustc 1.13.0 (2c6933acc 2016-11-07)" beta: "1.14" beta_date: "2016-12-22" nightly: "1.15" +channels: + - name: "stable" + vers: "1.13.0" + package: "1.13.0" + - name: "beta" + vers: "1.14" + package: "beta" + - name: "nightly" + vers: "1.15" + package: "nightly" diff --git a/_includes/rustup.js b/_includes/rustup.js new file mode 100644 index 000000000..dc268c73c --- /dev/null +++ b/_includes/rustup.js @@ -0,0 +1,147 @@ +var platform_override = null; + +function detect_platform() { + "use strict"; + + if (platform_override) { + return platform_override; + } + + var os = "unknown"; + + if (navigator.platform == "Linux x86_64") {os = "unix";} + if (navigator.platform == "Linux i686") {os = "unix";} + if (navigator.platform == "Linux i686 on x86_64") {os = "unix";} + if (navigator.platform == "Linux aarch64") {os = "unix";} + if (navigator.platform == "Linux armv6l") {os = "unix";} + if (navigator.platform == "Linux armv7l") {os = "unix";} + if (navigator.platform == "Mac") {os = "unix";} + if (navigator.platform == "Win32") {os = "win";} + if (navigator.platform == "FreeBSD x86_64") {os = "unix";} + if (navigator.platform == "FreeBSD amd64") {os = "unix";} + + if (navigator.platform == "Linux armv7l" + && navigator.appVersion.indexOf("Android") != -1 ) { + os = "android"; + } + + // I wish I knew by now, but I don't. Try harder. + if (os == "unknown") { + if (navigator.appVersion.indexOf("Win")!=-1) {os = "win";} + if (navigator.appVersion.indexOf("Mac")!=-1) {os = "unix";} + } + + return os; +} + +function adjust_for_platform() { + "use strict"; + + var platform = detect_platform(); + + var unix_div = document.getElementById("platform-instructions-unix"); + var win_div = document.getElementById("platform-instructions-win"); + var android_div = document.getElementById("platform-instructions-android"); + var unknown_div = document.getElementById("platform-instructions-unknown"); + var default_div = document.getElementById("platform-instructions-default"); + + unix_div.style.display = "none"; + win_div.style.display = "none"; + android_div.style.display = "none"; + unknown_div.style.display = "none"; + default_div.style.display = "none"; + + if (platform == "unix") { + unix_div.style.display = "block"; + } else if (platform == "win") { + win_div.style.display = "block"; + } else if (platform == "android") { + android_div.style.display = "block"; + } else if (platform == "unknown") { + unknown_div.style.display = "block"; + } else { + default_div.style.display = "block"; + } + + var platform_specific = document.getElementsByClassName("platform-specific"); + for (var el of platform_specific) { + var el_is_not_win = el.className.indexOf("not-win") !== -1; + var el_is_inline = el.tagName.toLowerCase() == "span"; + var el_visible_style = "block"; + if (el_is_inline) { + el_visible_style = "inline"; + } + if (platform == "win") { + if (el_is_not_win) { + el.style.display = "none"; + } else { + el.style.display = el_visible_style; + } + } else { + if (el_is_not_win) { + el.style.display = el_visible_style; + } else { + el.style.display = "none"; + } + } + } +} + +function cycle_platform() { + if (platform_override == null) { + platform_override = "default"; + } else if (platform_override == "default") { + platform_override = "unknown"; + } else if (platform_override == "unknown") { + platform_override = "win"; + } else if (platform_override == "win") { + platform_override = "unix"; + } else if (platform_override == "unix") { + platform_override = "android"; + } else if (platform_override == "android") { + platform_override = "default"; + } + adjust_for_platform(); +} + +function set_up_cycle_button() { + var cycle_button = document.getElementById("platform-button"); + cycle_button.onclick = cycle_platform; + + var key="test"; + var idx=0; + var unlocked=false; + + document.onkeypress = function(event) { + if (event.key == "n" && unlocked) { + cycle_platform(); + } + + if (event.key == key[idx]) { + idx += 1; + + if (idx == key.length) { + cycle_button.style.display = "block"; + unlocked = true; + cycle_platform(); + } + } else if (event.key == key[0]) { + idx = 1; + } else { + idx = 0; + } + }; +} + +function fill_in_bug_report_values() { + var nav_plat = document.getElementById("nav-plat"); + var nav_app = document.getElementById("nav-app"); + nav_plat.textContent = navigator.platform; + nav_app.textContent = navigator.appVersion; +} + +(function () { + adjust_for_platform(); + set_up_cycle_button(); + fill_in_bug_report_values(); +}()); diff --git a/_layouts/basic.html b/_layouts/basic.html index 652a987bd..9fb94667f 100644 --- a/_layouts/basic.html +++ b/_layouts/basic.html @@ -27,8 +27,8 @@ diff --git a/_layouts/fr/basic.html b/_layouts/fr/basic.html index 634d6372c..6870aa1c9 100644 --- a/_layouts/fr/basic.html +++ b/_layouts/fr/basic.html @@ -27,8 +27,8 @@ diff --git a/_layouts/ko-KR/basic.html b/_layouts/ko-KR/basic.html index 537fe4426..28e9f81f1 100644 --- a/_layouts/ko-KR/basic.html +++ b/_layouts/ko-KR/basic.html @@ -27,8 +27,8 @@ diff --git a/_layouts/pt-BR/basic.html b/_layouts/pt-BR/basic.html index 719b0390d..25f02bacc 100644 --- a/_layouts/pt-BR/basic.html +++ b/_layouts/pt-BR/basic.html @@ -27,8 +27,8 @@ diff --git a/_layouts/ru-RU/basic.html b/_layouts/ru-RU/basic.html index 71ff7593a..a73b47ee9 100644 --- a/_layouts/ru-RU/basic.html +++ b/_layouts/ru-RU/basic.html @@ -27,8 +27,8 @@ diff --git a/_layouts/zh-CN/basic.html b/_layouts/zh-CN/basic.html index 10d4a1f9a..1136711a2 100644 --- a/_layouts/zh-CN/basic.html +++ b/_layouts/zh-CN/basic.html @@ -27,8 +27,8 @@ diff --git a/css/style.css b/css/style.css index 673cc1874..7baa2fed2 100644 --- a/css/style.css +++ b/css/style.css @@ -147,7 +147,7 @@ div.install { text-decoration: none; } -.install-row { +.pitch-row { margin-bottom: 0em; } @@ -170,19 +170,6 @@ p.pitch a { font-size: 80%; } -.install-box { - color: #777; - text-align: right; - font-size: 130%; - margin-top: 0.8em; -} - -.version-rec-box-inner { - display: block; - font-size: 12px; - text-align: center; -} - hr { margin-top: 2em; margin-bottom: 3em; @@ -206,12 +193,6 @@ hr { list-style-type: square; } -.install-box a.btn { - display: block; - margin:1em auto; - max-width: 250px; -} - ul.laundry-list { column-count: 2; -moz-column-count: 2; @@ -224,10 +205,6 @@ ul.laundry-list { } @media (min-width: 992px) { - .install-box a.btn { - font-size: 18px; - padding: 10px 15px; - } ul.laundry-list { column-count: auto; -moz-column-count: auto; @@ -400,15 +377,15 @@ ul.laundry-list { line-height: 1.5em; margin: 3rem 0 1rem; font-weight: 400; - border-top: 2px solid #dedede; - padding-top: 1rem; + border-top: 2px solid #dedede; + padding-top: 1rem; } .content h3 { font-size: 1em; line-height: 1.5em; font-weight: 500; - margin: .5rem 0; + margin: 2rem 0; } .side-header h2 { @@ -616,3 +593,174 @@ footer a { display: inline-block; font-weight: bold; } + +/* rustup install page styles */ + +.instructions { + background-color: rgb(250, 250, 250); + margin-left: auto; + margin-right: auto; + width: 34rem; + text-align: center; + border-radius: 3px; + border: 1px solid rgb(204, 204, 204); + box-shadow: 0px 1px 4px 0px rgb(204, 204, 204); + margin-top: 4rem; + margin-bottom: 4rem; +} + +.instructions > * { + width: 30rem; + margin-left: auto; + margin-right: auto; +} + +.instructions p { + margin-left: auto; + margin-right: auto; + margin-top: 2rem; + margin-bottom: 2rem; +} + +.instructions hr { + margin-top: 2rem; + margin-bottom: 2rem; +} + +#platform-instructions-unix > pre, +#platform-instructions-default > div > pre { + background-color: #515151; + color: white; + margin-left: auto; + margin-right: auto; + padding-top: 1rem; + padding-bottom: 1rem; + text-align: center; + border-radius: 3px; + box-shadow: inset 0px 0px 20px 0px #444444; + margin-top: 2rem; + margin-bottom: 2rem; +} + +#platform-instructions-win a, +#platform-instructions-default a { + display: block; + padding-top: 0.4rem; + padding-bottom: 0.6rem; + font-family: 'Fira Sans', "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: 500; + letter-spacing: 0.1rem; +} + +#platform-instructions-unknown div { + line-height: 2rem; +} + +#platform-button { + width: 100%; + font-size: 70%; + text-align: center; + margin-top: 1em; + margin-bottom: 1em; + background-color: #515151; + color: white; + margin-left: auto; + margin-right: auto; + padding: 1em; +} + +.install-examples { + margin-top: 2rem; + margin-bottom: 2rem +} + +.install-example-row > div:first-child { + text-align: right; + margin-top: 1rem +} + +.install-example-row > div:last-child { + margin-top: 0rem; + margin-bottom: 1rem; +} + +.pitch-row .release-button { + display: block; + color: white; + background-color: #428BCA; + border-radius: 3px; + padding: 2rem; + margin-top: 4rem; + font-size: 1.5em; + text-align: center; +} + +.pitch-row .release-version > span { + font-weight: 500; +} + +.pitch-row .release-date { + text-align: center; + margin-top: 2rem; +} + +.release-info-column { + text-align: center; + font-weight: 500; +} + +.release-info-column > div { + margin-top: 6rem; + padding-right: 9rem; +} + +.release-info-column .release-version { + font-size: 1.5em; +} + +.release-info-column .release-date { + margin-top: 1rem; +} + +h1.rustup { + border-top: 0px; +} + +.rustup-row { + margin-bottom: 4rem; +} + +.rustup-init-table { + display: flex; + margin: 2rem; + justify-content: space-around; +} + +.rustup-init-table > div > a { + display: block; +} + +.installer-table { + display: flex; + margin: 2rem; + justify-content: space-around; +} + +.installer-table > div > div { + text-align: right +} + +.installer-table > div > div > span { + float: left; + margin-left: 1em; + margin-right: 1em; +} + +.installer-table > div > div > a { + margin-left: 1em; + margin-right: 1em; +} + +.installer-table.stable .no-stable { + display: none; +} diff --git a/downloads.html b/downloads.html index 9bc660a85..0f3bde88d 100644 --- a/downloads.html +++ b/downloads.html @@ -1,3 +1,5 @@ ---- -layout: redirect ---- + + + + + diff --git a/en-US/downloads.html b/en-US/downloads.html index e273361f3..0f3bde88d 100644 --- a/en-US/downloads.html +++ b/en-US/downloads.html @@ -1,213 +1,5 @@ ---- -layout: default -title: Downloads · The Rust Programming Language ---- -

Downloads

+ -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date | date: "%B %-d, %Y" }}

-

- The - - current stable release of Rust, - updated every six weeks and backwards-compatible. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Source
-
-
- -
-
-

An easy way to install the stable binaries for Linux and Mac is to run this in your shell:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

Beta  ({{ site.beta }})

-

- A preview of the upcoming stable release, intended for testing by - crate authors. Updated every six weeks and as needed. -

-

Scheduled for stable release
{{ site.beta_date | date: "%B %-d, %Y" }}
.

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Source
-
-
- -
-
-

An easy way to install the beta binaries for Linux and Mac is to run this in your shell:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

Nightly  ({{ site.nightly }})

-

- The current development branch. - It includes - unstable features - that are not available in the betas or stable releases. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Source
-
-
- -
-
-

An easy way to install the nightly binaries for Linux and Mac is to run this in your shell:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- Discover other downloads in the archives. -

-
-
- -
- -
-
-

If you installed using the shell script, run this to uninstall:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --uninstall
-
-
- -
- -
-
- -

- - There are two prominent - ABIs - in use on Windows: the native (MSVC) ABI used by - Visual Studio, - and the GNU ABI used by the - GCC toolchain. - Which version of Rust you need depends largely on what C/C++ libraries you want to interoperate with: - for interop with software produced by Visual Studio use the MSVC build of Rust; for interop with - GNU software built using the - MinGW/MSYS2 toolchain - use the GNU build. -

-

- MSVC builds of Rust additionally require the Microsoft Visual - C++ build tools for Visual Studio 2013 or later. - The easiest way to acquire the build tools is by installing - - Microsoft Visual C++ Build Tools 2015 - which provides just the Visual C++ build tools. - Alternately, you can install - Visual Studio 2015 or Visual Studio 2013 and during install select the "C++ tools". - No additional software installation is necessary for basic use of the GNU build. -

-

- Rust's support for the MSVC ABI is more mature, and is recommended for typical - uses. -

-
-
+ + + diff --git a/en-US/index.html b/en-US/index.html index 93a79db39..197d0b31a 100644 --- a/en-US/index.html +++ b/en-US/index.html @@ -3,7 +3,7 @@ title: The Rust Programming Language --- -
+

Rust is a systems programming language @@ -14,21 +14,11 @@ See who's using Rust.

-
- - Recommended Version:
- - {{ site.stable }} - (source) - -
- Install - Other Downloads +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -70,6 +60,4 @@

Featuring

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/en-US/install.html b/en-US/install.html index 597e180a2..4bf53df93 100644 --- a/en-US/install.html +++ b/en-US/install.html @@ -1,5 +1,195 @@ - +--- +layout: default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/en-US/other-installers.md b/en-US/other-installers.md new file mode 100644 index 000000000..9700f8fa4 --- /dev/null +++ b/en-US/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows diff --git a/fr/downloads.html b/fr/downloads.html index 885bbc823..0f3bde88d 100644 --- a/fr/downloads.html +++ b/fr/downloads.html @@ -1,211 +1,5 @@ ---- -layout: fr/default -title: Téléchagements · Le langage de programmation Rust ---- -

Téléchargements

+ -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date | date: "%B %-d, %Y" }}

-

- - La version stable de Rust, - mise à jour toutes les six semaines et rétrocompatible. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64 bits
32 bits
Mac (.pkg)
64 bits
32 bits
Windows (ABI GNU ) (.msi)
64 bits
32 bits
Windows (ABI MSVC ) (.msi)
64 bits
32 bits
 
Source
-
-
- -
-
-

Pour installer facilement les binaires pour Linux et Mac, exécutez dans votre shell :

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

Beta  ({{ site.beta }})

-

- Un aperçu de la prochaine version stable pour que les auteurs de - crates puissent tester. Mise à jour toutes les six semaines et au besoin. -

-

Programmé pour une version stable le
{{ site.beta_date | date: "%B %-d, %Y" }}
.

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64 bits
32 bits
Mac (.pkg)
64 bits
32 bits
Windows (ABI GNU ) (.msi)
64 bits
32 bits
Windows (ABI MSVC ) (.msi)
64 bits
32 bits
 
Source
-
-
- -
-
-

Pour installer facilement les binaires beta pour Linux et Mac, exécutez dans votre shell :

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

Nightly  ({{ site.nightly }})

-

- La branche de dévelopement courante. - Elle inclut - des éléments non stables - qui ne sont pas disponibles dans les versions beta ou stable. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64 bits
32 bits
Mac (.pkg)
64 bits
32 bits
Windows (ABI GNU ) (.msi)
64 bits
32 bits
Windows (ABI MSVC ) (.msi)
64 bits
32 bits
 
Source
-
-
- -
-
-

Pour installer facilement les binaires nightly pour Linux et Mac, exécutez dans votre shell :

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- Découvrez d'autres téléchargements dans les archives. -

-
-
- -
- -
-
-

Si vous avez installé Rust en utilisant le script shell, exécutez ceci pour le désinstaller :

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --uninstall
-
-
- -
- -
-
- -

- - Il y a deux principales - ABI - utilisées sur Windows : l'ABI native (MSVC) utilisée par - Visual Studio, - et l'ABI GNU utilisée par la - suite d'outils GCC. - La version de Rust dont vous avez besoin dépend principalement d'avec quelles bibliothèques C/C++ vous voulez interagir : - pour une interopérabilité avec des logiciels générés via Visual Studio utilisez le build MSVC de Rust. Pour une interopérabilité avec - des logiciels GNU produits avec - la suite d'outils MinGW/MSYS2 - utilisez le build GNU. -

-

- Les builds MSVC de Rust nécessitent en outre les outils de compilation Microsoft Visual - C++ pour Visual Studio 2013 et plus. - Pour obtenir ces outils de compilation, installez - - Microsoft Visual C++ Build Tools 2015 - qui fournit seulement les outils de compilation Visual C++. - Alternativement, vous pouvez installer - Visual Studio 2015 ou Visual Studio 2013 et pendant l'installation selectionner « C++ tools ». - Il n'est pas nécessaire d'installer d'autres logiciels pour l'utilisation basique du build GNU. -

-

- Le support de Rust pour l'ABI GNU est plus mature et est recommandé pour les usages classiques. -

-
-
+ + + diff --git a/fr/index.html b/fr/index.html index 4ca8e42ad..72448dc97 100644 --- a/fr/index.html +++ b/fr/index.html @@ -3,7 +3,7 @@ title: Langage de programmation Rust --- -
+

Rust est un langage de programmation système ultra-rapide, @@ -13,17 +13,11 @@ Montre-moi !

-
- - Version recommandée :
- - {{ site.stable }} - (source) - -
- Installer - Autres téléchargements +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -65,6 +59,4 @@

Fonctionnalités

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/fr/install.html b/fr/install.html index 597e180a2..077f8e5f1 100644 --- a/fr/install.html +++ b/fr/install.html @@ -1,5 +1,195 @@ - +--- +layout: fr/default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/fr/other-installers.md b/fr/other-installers.md new file mode 100644 index 000000000..5320f5f94 --- /dev/null +++ b/fr/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: fr/default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows diff --git a/install.html b/install.html index 597e180a2..9bc660a85 100644 --- a/install.html +++ b/install.html @@ -1,5 +1,3 @@ - - - - - +--- +layout: redirect +--- diff --git a/ko-KR/downloads.html b/ko-KR/downloads.html index 0c248b55b..0f3bde88d 100644 --- a/ko-KR/downloads.html +++ b/ko-KR/downloads.html @@ -1,211 +1,5 @@ ---- -layout: ko-KR/default -title: 다운로드 · Rust 프로그래밍 언어 ---- -

다운로드

+ -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date | date: "%Y년 %-m월 %-d일" }}

-

- - Rust의 현재 안정 버전입니다. - 6주마다 갱신되며 이전 버전과 호환됩니다. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64비트
32비트
Mac (.pkg)
64비트
32비트
Windows (GNU ABI ) (.msi)
64비트
32비트
Windows (MSVC ABI ) (.msi)
64비트
32비트
 
소스 코드
-
-
- -
-
-

Linux와 Mac에서는 다음 명령을 셸에 입력해서 쉽게 안정 버전을 설치할 수 있습니다:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

베타  ({{ site.beta }})

-

- 다음 안정 버전의 맛보기 판으로, 크레이트 개발자가 테스트하는 데 쓰입니다. - 6주마다 및 필요에 따라 갱신됩니다. -

-


{{ site.beta_date | date: "%Y년 %-m월 %-d일" }}
에 안정 버전으로 승격될 예정

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64비트
32비트
Mac (.pkg)
64비트
32비트
Windows (GNU ABI ) (.msi)
64비트
32비트
Windows (MSVC ABI ) (.msi)
64비트
32비트
 
소스 코드
-
-
- -
-
-

Linux와 Mac에서는 다음 명령을 셸에 입력해서 쉽게 베타 버전을 설치할 수 있습니다:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

나이틀리  ({{ site.nightly }})

-

- 현재의 개발 브랜치입니다. - 베타나 안정 버전에서 사용할 수 없는 - 불안정한 기능들이 포함됩니다. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64비트
32비트
Mac (.pkg)
64비트
32비트
Windows (GNU ABI ) (.msi)
64비트
32비트
Windows (MSVC ABI ) (.msi)
64비트
32비트
 
소스 코드
-
-
- -
-
-

Linux와 Mac에서는 다음 명령을 셸에 입력해서 쉽게 나이틀리 버전을 설치할 수 있습니다:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- 아카이브에서 다른 다운로드를 찾을 수 있습니다. -

-
-
- -
- -
-
-

셸 스크립트로 설치했을 경우 다음을 실행해서 삭제할 수 있습니다:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --uninstall
-
-
- -
- -
-
- -

- - Windows에서는 두 개의 주요 - ABI가 - 사용되고 있는데, 하나는 - Visual Studio가 - 사용하는 네이티브 (MSVC) ABI이고, 다른 하나는 - GCC 툴체인이 - 사용하는 GNU ABI입니다. - 어느 버전의 Rust를 사용할지는 주로 함께 쓰고자 하는 C/C++ 라이브러리가 무엇이냐에 따라 결정됩니다. - Visual Studio에서 만들어진 소프트웨어와 함께 쓰려면 Rust의 MSVC 빌드를 사용하십시오. - MinGW/MSYS2 툴체인으로 빌드된 GNU 소프트웨어와 함께 쓰려면 - GNU 빌드를 사용하십시오. -

-

- Rust의 MSVC 빌드는 추가적으로 Visual Studio 2013 또는 이후 버전을 위한 - Microsoft Visual C++ 빌드 도구를 필요로 합니다. - 빌드 도구를 가장 쉽게 받는 방법은 - - Microsoft Visual C++ 빌드 도구 2015를 - 설치하는 것입니다. - 또는 Visual Studio 2015나 Visual Studio 2013을 - 설치하고 - 설치 과정에서 "C++ 도구"를 선택할 수 있습니다. - GNU 빌드의 경우 기본적인 사용에는 별도의 소프트웨어 설치가 필요하지 않습니다. -

-

- Rust의 GNU ABI 지원은 MSVC ABI보다 더 성숙해 있으며 일반적인 사용에 권장됩니다. -

-
-
+ + + diff --git a/ko-KR/index.html b/ko-KR/index.html index 259981c39..d8370306d 100644 --- a/ko-KR/index.html +++ b/ko-KR/index.html @@ -3,7 +3,7 @@ title: Rust 프로그래밍 언어 --- -
+

Rust는 @@ -15,21 +15,11 @@ 누가 Rust를 쓰는지 알아 보세요.

-
- - 권장 버전:
- - {{ site.stable }} - (소스 코드) - -
- 설치 - 다른 다운로드 +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -71,6 +61,4 @@

기능

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/ko-KR/install.html b/ko-KR/install.html index 597e180a2..36014870d 100644 --- a/ko-KR/install.html +++ b/ko-KR/install.html @@ -1,5 +1,195 @@ - +--- +layout: ko-KR/default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/ko-KR/other-installers.md b/ko-KR/other-installers.md new file mode 100644 index 000000000..a2623fea1 --- /dev/null +++ b/ko-KR/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: ko-KR/default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows diff --git a/pt-BR/downloads.html b/pt-BR/downloads.html index 38b3c8b11..0f3bde88d 100644 --- a/pt-BR/downloads.html +++ b/pt-BR/downloads.html @@ -1,206 +1,5 @@ ---- -layout: pt-BR/default -title: Downloads · A linguagem de programação Rust ---- + - -

Downloads

- - {% assign months = '/janeiro/fevereiro/março/abril/maio/junho/julho/agosto/setembro/outubro/novembro/dezembro' | split: '/' -%} - {% assign stable_month = site.stable_date | date: '%-m' | plus: '0' -%} - {% assign beta_month = site.beta_date | date: '%-m' | plus: '0' -%} -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date | date: '%-d' }} de {{ months[stable_month] }} de {{ site.stable_date | date: '%Y' }}

-

- O - - atual lançamento estável de rust, - atualizado à cada 6 semanas e compatível com versões anteriores. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (ABI GNU ) (.msi)
64-bit
32-bit
Windows (ABI MSVC ) (.msi)
64-bit
32-bit
 
Código fonte
-
-
- -
-
-

Um jeito fácil e rápido de instalar os binários da versão estável no Linux e Mac é rodar isso no seu terminal:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

Beta  ({{ site.beta }})

-

- Uma preview da versão estável que virá, intencionada para teste por - autores de pacotes. Atualizado à cada seis semanas e quando necessário. -

-

Esperado lançamento como estável:
{{ site.beta_date | date: '%-d' }} de {{ months[beta_month] }} de {{ site.beta_date | date: '%Y' }}
.

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (ABI GNU ) (.msi)
64-bit
32-bit
Windows (ABI MSVC ) (.msi)
64-bit
32-bit
 
Código fonte
-
-
- -
-
-

Um jeito fácil e rápido de instalar os binários da versão beta no Linux e Mac é rodar isso no seu terminal:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

Nightly  ({{ site.nightly }})

-

- É o atual ramo de desenvolvimento. - Ele inclui - aspectos instáveis - que não estão disponíveis nos lançamentos estável e beta. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (ABI GNU ) (.msi)
64-bit
32-bit
Windows (ABI MSVC ) (.msi)
64-bit
32-bit
 
Código fonte
-
-
- -
-
-

Um jeito fácil e rápido de instalar os binários da versão nightly no Linux e Mac é rodar isso no seu terminal:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- Descubra outros downloads nos arquivos. -

-
-
- -
- -
-
- -

- - Há duas ABIs - principais em uso no Windows: a ABI nativa (MSVC) usada no Visual Studio - e a ABI GNU usada pelo GCC. - Qual versão de Rust você precisa depende enormemente em que tipo de bibliotecas de C/C++ você pretende - interoperar com: - Para interoperar com software compilado com o Visual Studio, use a versão MSVC de Rust; Para interoperar - com software GNU compilado com as ferramentas MinGW/MSYS2, use a - versão GNU. -

-

- Versões de MSVC de Rust requerem adicionalmente as ferramentas de desenvolvimento Microsoft Visual C++ - para o Visual Studio 2013 ou superior. - A forma mais fácil de adquirir as ferramentas de desenvolvimento é instalando - - Microsoft Visual C++ Build Tools 2015 que fornece apenas as ferramentas de desenvolvimento - do Visual C++. - Outra alternativa é instalar o Visual Studio 2015 ou Visual Studio 2013 e durante a instalação, - selecione a parte "ferramentas para C++". Nenhum software adicional é necessário para o uso - básico da versão GNU. -

-

- O suporte de Rust para a versão GNU é mais madura, e é recomendada para a maior - parte dos usos comuns. -

-
-
+ + + diff --git a/pt-BR/index.html b/pt-BR/index.html index b9edddea3..7e613d639 100644 --- a/pt-BR/index.html +++ b/pt-BR/index.html @@ -3,7 +3,7 @@ title: A Linguagem de Programação Rust --- -
+

Rust é uma linguagem de programação de sistemas @@ -14,21 +14,11 @@ Veja quem está usando Rust.

-
- - Versão recomendada:
- - {{ site.stable }} - (source) - -
- Instalar - Outros downloads +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -70,6 +60,4 @@

Apresentando

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/pt-BR/install.html b/pt-BR/install.html index 597e180a2..4c03ad2d2 100644 --- a/pt-BR/install.html +++ b/pt-BR/install.html @@ -1,5 +1,195 @@ - +--- +layout: pt-BR/default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/pt-BR/other-installers.md b/pt-BR/other-installers.md new file mode 100644 index 000000000..839a5d0b2 --- /dev/null +++ b/pt-BR/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: pt-BR/default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows diff --git a/ru-RU/downloads.html b/ru-RU/downloads.html index a0598c160..0f3bde88d 100644 --- a/ru-RU/downloads.html +++ b/ru-RU/downloads.html @@ -1,212 +1,5 @@ ---- -layout: ru-RU/basic -title: Загрузки · Язык программирования Rust ---- -

Загрузки

+ -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date }}

-

- - Текущая стабильная версия Rust - - , обновляется каждые шесть недель и обратно совместима -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Исходный код
-
-
- -
-
-

Простой способ установить бинарную стабильную версию для Linux и Mac — выполнить эту команду в командной строке:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

Beta  ({{ site.beta }})

-

- Предварительная версия будущих стабильных выпусков, предназначена для - тестирования авторами библиотек. Обновляется каждые шесть недель или по мере необходимости. -

-

Стабильный релиз намечен на
{{ site.beta_date }}
.

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Исходный код
-
-
- -
-
-

Простой способ установить бинарную бета версию для Linux и Mac — выполнить эту команду в командной строке:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

Nightly  ({{ site.nightly }})

-

- Текущая ветка разработки. - Включает - нестабильные возможности - которые недоступны в бетах и стабильных релизах. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64-bit
32-bit
Mac (.pkg)
64-bit
32-bit
Windows (MSVC ABI ) (.msi)
64-bit
32-bit
Windows (GNU ABI ) (.msi)
64-bit
32-bit
 
Исходный код
-
-
- -
-
-

Простой способ установить бинарную nightly версию для Linux и Mac — выполнить эту команду в командной строке:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- Вы можете просмотреть другие варианты в архиве. -

-
-
- -
- -
-
-

Если для установки вы использовали shell скрипт, то для удаления выполните эту команду:

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --uninstall
-
-
- -
- -
-
- -

- - На Windows существует два известных - ABI - : нативный (MSVC) ABI, который используется в - Visual Studio, - и GNU ABI, который используется в - наборе инструментов GCC. - То, какая версия Rust вам нужна зависит в основном от того, с какими C/C++ библиотеками вы собираетесь взаимодействовать: - для взаимодействия с ПО созданным с помощью Visual Studio используйте MSVC версию Rust; - для ПО GNU, которое было собрано с помощью - MinGW/MSYS2 - используйте GNU версию. -

-

- Версия Rust для MSVC дополнительно требует инструменты сборки Microsoft Visual - C++ для Visual Studio 2013 и выше. - Простейший способ получить их — установить - - Microsoft Visual C++ Build Tools 2015 - ,который предоставит вам только иструменты для сборки Visual C++. - Альтернативно, вы можете установить - Visual Studio 2015 или Visual Studio 2013, и, во время установки, поставить галочку на "C++ tools". - Для GNU версии никакого дополнительного ПО не требуется. -

-

- Поддержка MSVC ABI более проработана и рекомендуется для обычных пользователей. -

-
-
+ + + diff --git a/ru-RU/index.html b/ru-RU/index.html index 5ecd7362b..fd0c19192 100644 --- a/ru-RU/index.html +++ b/ru-RU/index.html @@ -3,7 +3,7 @@ title: Язык программирования Rust --- -
+

Rust — безумно быстрый системный язык программирования без segfault'ов и с гарантиями потокобезопасности. @@ -11,21 +11,11 @@ Покажите!

-
- - Рекомендуемая версия:
- - {{ site.stable }} - (source) - -
- Установить - Другие загрузки +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -67,6 +57,4 @@

Возможности

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/ru-RU/install.html b/ru-RU/install.html index 597e180a2..a31805aee 100644 --- a/ru-RU/install.html +++ b/ru-RU/install.html @@ -1,5 +1,195 @@ - +--- +layout: ru-RU/default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/ru-RU/other-installers.md b/ru-RU/other-installers.md new file mode 100644 index 000000000..ca7e2358d --- /dev/null +++ b/ru-RU/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: ru-RU/default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows diff --git a/zh-CN/downloads.html b/zh-CN/downloads.html index bfbb7e1af..0f3bde88d 100644 --- a/zh-CN/downloads.html +++ b/zh-CN/downloads.html @@ -1,200 +1,5 @@ ---- -layout: zh-CN/default -title: 下载 · Rust程序设计语言 ---- -

下载

+ -
- -
-
-

{{ site.stable }} 

-

{{ site.stable_date | date: "%Y 年 %-m 月 %-d 日" }}

-

- - 当前稳定的版本, - 保持每六周更新一次和后向兼容。 -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64位
32位
Mac (.pkg)
64位
32位
Windows (GNU ABI 〔注〕) (.msi)
64位
32位
Windows (MSVC ABI 〔注〕) (.msi)
64位
32位
 
源码
-
-
- -
-
-

也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(稳定绿化版):

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh
-
-
- -
- -
-
-

测试版(Beta)  ({{ site.beta }})

-

- 即将推出的稳定版本,提供为库(crate) 作者测试使用。 - 每六周或必要时更新一次。 -

-

预计将于
{{ site.beta_date | date: "%Y 年 %-m 月 %-d 日" }}
推出稳定版

-

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64位
32位
Mac (.pkg)
64位
32位
Windows (GNU ABI 〔注〕) (.msi)
64位
32位
Windows (MSVC ABI 〔注〕) (.msi)
64位
32位
 
源码
-
-
- -
-
-

也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(测试绿化版):

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta
-
-
- -
- -
-
-

开发版(Nightly)  ({{ site.nightly }})

-

- 当前正在开发的分支。 - 它包括若干 - 不稳定的特性, - 这些特性在稳定版和测试版中都是不支持的。 -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux (.tar.gz)
64位
32位
Mac (.pkg)
64位
32位
Windows (GNU ABI 〔注〕) (.msi)
64位
32位
Windows (MSVC ABI 〔注〕) (.msi)
64位
32位
 
源码
-
-
- -
-
-

也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(开发绿化版):

-
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
-
-
- -
- -
-
-

- 这里是一些早期版本的 存档。 -

-
-
- -
- -
-
- -

- 〔注〕 - 在 Windows 操作系统中有两个可供选择 - ABIs - 的版本。使用已经安装的 (MSVC) ABI 需要 - Visual Studio, - ,而使用 GNU ABI 则需要 - GCC 工具链. - 您选择哪个版本的 Rust 主要取决于您想要互操作的 C/C++ 库: - 与 Visual Studio 生成的软件的 interop 使用 Rust 的 MSVC build; - 用于与使用 - MinGW/MSYS2 工具链 - 构建的GNU软件进行互操作,使用GNU构建。 -

-

- MSVC 构建的 Rust 需要 Visual Studio 2013 或更高版本中的 Microsoft Visual C++ 构建工具。 - 获取构建工具的快捷方法是安装 - - Microsoft Visual C++ 构建工具 2015,它仅仅提供 Visual C++ 构建工具。 - 您也可以安装 - Visual Studio 2015 或 Visual Studio 2013 并在安装期间勾选“C++ tools”。 - 对于GNU构建的基本使用则不需要额外的安装。 -

-

- Rust 对 GNU ABI 的支持更加成熟,建议作为首选。 -

-
-
+ + + diff --git a/zh-CN/index.html b/zh-CN/index.html index e4935cf47..2135c90dc 100644 --- a/zh-CN/index.html +++ b/zh-CN/index.html @@ -3,7 +3,7 @@ title: Rust 程序设计语言 --- -
+

Rust 是一种注重高效、安全、并行的系统程序语言。 @@ -11,21 +11,11 @@ 看看谁在使用 Rust

-
- - 推荐版本:
- - {{ site.stable }} - (source) - -
- 安装 - 下载其他版本 +
+ +
Install Rust {{ site.stable }}
+
+
{{ site.stable_date | date: "%B %-d, %Y" }}
@@ -68,6 +58,4 @@

特点

{% include editor.js %} }); }); - - {% include set_platform.js %} diff --git a/zh-CN/install.html b/zh-CN/install.html index 597e180a2..9fb62bc93 100644 --- a/zh-CN/install.html +++ b/zh-CN/install.html @@ -1,5 +1,195 @@ - +--- +layout: zh-CN/default +title: Installation · The Rust Programming Language +--- +

Install Rust

+ +
+
+ + + + + + + + +
+
+

To install Rust, if you are running Unix,
run the following + in your terminal, then follow the onscreen instructions.

+
curl https://sh.rustup.rs -sSf | sh
+
+ +
+ +
+

+ If you are running Windows,
download and run + rustup‑init.exe + then follow the onscreen instructions. +

+
+
+ +
+ + + +
+ +

Notes about Rust installation

+ +
+
+ +

Toolchain management with rustup

+ +

+ Rust is installed and managed by the + rustup + tool. Rust has a 6-week + + rapid release process + and supports a + + great number of platforms + , so there are many builds of Rust available at any time. + rustup manages these builds in a consistent way on every + platform that Rust supports, enabling installation of Rust from the + beta and nightly release channels as well as support for additional + cross-compilation targets +

+ +

+ For more information see the + rustup + documentation. +

+ +

Configuring the PATH environment variable

+ +

+ In the Rust development environment, all tools are installed to the + + ~/.cargo/bin + + directory, + and this is where you will find the Rust toolchain, including + rustc, cargo, and rustup. +

+ +

+ Accordingly, it is customary for Rust developers to include this + directory in their + PATH + environment variable. During installation, rustup, + will attempt to configure + PATH, but because of differences between platforms, + command shells, and bugs in rustup, the modifications + to PATH may not take effect until the console is + restarted, or the user logged out, or may not succeed at all. +

+ +

+ If, after installation, running rustc --version in the + console fails, this is the most likely reason. +

+ +
+ +

Windows considerations

+ + + +

+ On Windows, Rust additionally requires the C++ build tools + for Visual Studio 2013 or later. The easiest way to acquire the build + tools is by installing + + Microsoft Visual C++ Build Tools 2015 + + which provides just the Visual C++ build tools. Alternately, you + can install + Visual Studio 2015 or Visual Studio 2013 and during install select + the "C++ tools". +

+ +

+ For further information about configuring Rust on Windows see the + Windows-specific rustup + documentation. +

+ +
+ +
+
+ +

Other installation methods

+ +
+
+

+ The installation described above, via + rustup, is the preferred way to install Rust for most developers, + but Rust can be + installed via other methods + as well. +

+
+
+ + - - - diff --git a/zh-CN/other-installers.md b/zh-CN/other-installers.md new file mode 100644 index 000000000..300d47f64 --- /dev/null +++ b/zh-CN/other-installers.md @@ -0,0 +1,367 @@ +--- +layout: zh-CN/default +title: Other Installation Methods · The Rust Programming Language +--- + +# Other Rust Installation Methods + +- [Which installer should you use?](#which) +- [Other ways to install `rustup`](#more-rustup) +- [Standalone installers](#standalone) +- [Source code](#source) + +## Which installer should you use? + + +Rust runs on many platforms, and there are many ways to install Rust. If you +want to install Rust in the most straightforward, recommended way, then follow +the instructions on the main [installation page]. + +That page describes installation via [`rustup`], a tool that manages multiple +Rust toolchains in a consistent way across all platforms Rust supports. Why +might one _not_ want to install using those instructions? + +- Offline installation. `rustup` downloads components from the internet on + demand. If you need to install Rust without access to the internet, `rustup` + is not suitable. +- Preference for the system package manager. On Linux in particular, but also on + macOS with [Homebrew], and Windows with [Chocolatey], developers sometimes + prefer to install Rust with their platform's package manager. +- Preference against `curl | sh`. On Unix, we usually install `rustup` by + running a shell script via `curl`. Some have concerns about the security of + this arrangement and would prefer to download and run the installer + themselves. +- Validating signatures. Although `rustup` performs its downloads over HTTPS, + the only way to verify the signatures of Rust installers today is to do so + manually with the standalone installers. +- GUI installation and integration with "Add/Remove Programs" on + Windows. `rustup` runs in the console and does not register its installation + like typical Windows programs. If you prefer a more typical GUI installation + on Windows there are standalone `.msi` installers. In the future + `rustup` will also have a GUI installer on Windows. + +Rust's platform support is defined in [three tiers], which correspond closely +with the installation methods available: in general, the Rust project provides +binary builds for all tier 1 and tier 2 platforms, and they are all installable +via `rustup`. Some tier 2 platforms though have only the standard library +available, not the compiler itself; that is, they are cross-compilation targets +only; Rust code can run on those platforms, but they do not run the compiler +itself. Such targets can be installed with the `rustup target add` command. + +## Other ways to install `rustup` + + +The way to install `rustup` differs by platform: + +* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your + shell. This downloads and runs [`rustup-init.sh`], which in turn + downloads and runs the correct version of the `rustup-init` + executable for your platform. +* On Windows, download and run [`rustup-init.exe`]. + +`rustup-init` can be configured interactively, and all options can additionally +be controlled by command-line arguments, which can be passed through the shell +script. Pass `--help` to `rustup-init` as follows to display the arguments +`rustup-init` accepts: + +``` +curl https://sh.rustup.rs -sSf | sh -s -- --help +``` + +If you prefer not to use the shell script, you may directly download +`rustup-init` for the platform of your choice: + + + +Note that all builds of Rust can target all supported architectures, and on +Windows, it is always recommended to install using the `i686-pc-windows-gnu` +build of `rustup`, regardless of whether you are targetting the i686 or x86_64 +architecture, the MSVC or GNU ABI. All four Windows builds of `rustup` are +functionally equivalent, and each will install the MSVC build of Rust by +default, but for technical reasons the i686 GNU build of rustup itself should be +preferred. For more information about Rust on Windows see the [`rustup` Windows +documentation][rustup-win]. + +## Standalone installers + + +The official Rust standalone installers contain a single release of Rust, and +are suitable for offline installation. They come in three forms: tarballs +(extension `.tar.gz`), that work in any Unix-like environment, Windows +installers (`.msi`), and Mac installers (`.pkg`). These installers come with +`rustc`, `cargo`, `rustdoc`, the standard library, and the standard +documentation, but do not provide access to additional cross-targets like +`rustup` does. + +The most common reasons to use these are: + +- Offline installation +- Prefering a more platform-integrated, graphical installer on Windows + +Each of these binaries is signed with the [Rust signing key], which is +[available on keybase.io], by the Rust build infrastructure, with +[GPG]. In the tables below, the `.asc` files are the signatures. + +{% for channel in site.channels %} + +### {{ channel.name | capitalize }} ({{ channel.vers }}) + + + +
+
+ +
+ aarch64-unknown-linux-gnu + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabi + .tar.gz + .asc +
+
+ arm-unknown-linux-gnueabihf + .tar.gz + .asc +
+
+ i686-apple-darwin + .tar.gz + .asc +
+
+ i686-apple-darwin + .pkg + .asc +
+
+ i686-pc-windows-gnu + .tar.gz + .asc +
+
+ i686-pc-windows-gnu + .msi + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-pc-windows-msvc + .tar.gz + .asc +
+
+ i686-unknown-linux-gnu + .tar.gz + .asc +
+
+ mips-unknown-linux-gnu + .tar.gz + .asc +
+
+ mipsel-unknown-linux-gnu + .msi + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+
+ mips64-unknown-linux-gnuabi64 + .tar.gz + .asc +
+ +
+ +
+ +
+ powerpc-unknown-linux-gnu + .tar.gz + .asc +
+
+ powerpc64-unknown-linux-gnu + .pkg + .asc +
+
+ powerpc64le-unknown-linux-gnu + .tar.gz + .asc +
+
+ s390x-unknown-linux-gnu + .msi + .asc +
+
+ x86_64-apple-darwin + .tar.gz + .asc +
+
+ x86_64-apple-darwin + .pkg + .asc +
+
+ x86_64-pc-windows-gnu + .tar.gz + .asc +
+
+ x86_64-pc-windows-gnu + .msi + .asc +
+
+ x86_64-pc-windows-msvc + .tar.gz + .asc +
+
+ x86_64-pc-windows-msvc + .msi + .asc +
+
+ x86_64-unknown-freebsd + .tar.gz + .asc +
+
+ x86_64-unknown-linux-gnu + .tar.gz + .asc +
+
+ x86_64-unknown-netbsd + .tar.gz + .asc +
+ +
+ +
+ +{% endfor %} + +## Source code + + +
+
+
+ Stable + .tar.gz + .asc +
+
+
+
+ Beta + .tar.gz + .asc +
+
+
+
+ Nightly + .tar.gz + .asc +
+
+
+ +[installation page]: install.html +[`rustup`]: https://github.com/rust-lang-nursery/rustup.rs +[other-rustup]: https://github.com/rust-lang-nursery/rustup.rs#other-installation-methods +[`rustup-init.exe`]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe +[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh +[Homebrew]: http://brew.sh/ +[Chocolatey]: http://chocolatey.org/ +[three tiers]: https://forge.rust-lang.org/platform-support.html +[Rust signing key]: https://static.rust-lang.org/rust-key.gpg.ascii +[GPG]: https://gnupg.org/ +[available on keybase.io]: https://keybase.io/rust +[rustup-win]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows