@@ -9,12 +9,11 @@ <h1>下载</h1>
9
9
< div class ="row install ">
10
10
< div class ="col-md-4 side-header ">
11
11
< h2 id ="stable "> {{ site.stable }} </ h2 >
12
- < h3 > {{ site.stable_date | date: "%B %-d, %Y " }}</ h3 >
12
+ < h3 > {{ site.stable_date | date: "%Y 年 %-m 月 %-d 日 " }}</ h3 >
13
13
< p >
14
- The
15
14
< a href ="http://blog.rust-lang.org{{ site.stable_blog }} ">
16
- current stable release of Rust </ a > ,
17
- updated every six weeks and backwards-compatible.
15
+ 当前稳定的版本 </ a > ,
16
+ 保持每六周更新一次和后向兼容。
18
17
</ p >
19
18
</ div >
20
19
< div class ="col-md-8 ">
@@ -30,12 +29,12 @@ <h3>{{ site.stable_date | date: "%B %-d, %Y" }}</h3>
30
29
< td > < a href ="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-apple-darwin.pkg "> < div class ="inst-button "> 32位</ div > </ a > </ td >
31
30
</ tr >
32
31
< tr >
33
- < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > † </ sup > </ a > ) (.msi)</ td >
32
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > 〔注〕 </ sup > </ a > ) (.msi)</ td >
34
33
< td > < a href ="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-pc-windows-gnu.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
35
34
< td > < a href ="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-pc-windows-gnu.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
36
35
</ tr >
37
36
< tr >
38
- < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > † </ sup > </ a > ) (.msi) </ td >
37
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > 〔注〕 </ sup > </ a > ) (.msi) </ td >
39
38
< td > < a href ="https://static.rust-lang.org/dist/rust-{{ site.stable }}-x86_64-pc-windows-msvc.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
40
39
< td > < a href ="https://static.rust-lang.org/dist/rust-{{ site.stable }}-i686-pc-windows-msvc.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
41
40
</ tr >
@@ -50,7 +49,7 @@ <h3>{{ site.stable_date | date: "%B %-d, %Y" }}</h3>
50
49
51
50
< div class ="row ">
52
51
< div class ="col-md-10 col-md-offset-1 ">
53
- < p > Linux和Mac系统中安装的快捷方法,在终端中运行 :</ p >
52
+ < p > 也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(稳定绿化版) :</ p >
54
53
< pre > < code > curl -sSf https://static.rust-lang.org/rustup.sh | sh</ code > </ pre >
55
54
</ div >
56
55
</ div >
@@ -59,12 +58,12 @@ <h3>{{ site.stable_date | date: "%B %-d, %Y" }}</h3>
59
58
60
59
< div class ="row install ">
61
60
< div class ="col-md-4 side-header ">
62
- < h2 id ="beta "> Beta ({{ site.beta }})</ h2 >
61
+ < h2 id ="beta "> 测试版( Beta) ({{ site.beta }})</ h2 >
63
62
< p >
64
- A preview of the upcoming stable release, intended for testing by
65
- crate authors. Updated every six weeks and as needed.
63
+ 即将推出的稳定版本,提供为库(crate) 作者测试使用。
64
+ 每六周或必要时更新一次。
66
65
</ p >
67
- < p > < em > Scheduled for stable release < br /> {{ site.beta_date | date: "%B %-d, %Y " }}</ em > . < p >
66
+ < p > < em > 预计将于 < br /> {{ site.beta_date | date: "%Y 年 %-m 月 %-d 日 " }}</ em > 推出稳定版 < p >
68
67
</ div >
69
68
< div class ="col-md-8 ">
70
69
< table class ="table-features table-installers "> < tbody >
@@ -79,28 +78,28 @@ <h2 id="beta">Beta ({{ site.beta }})</h2>
79
78
< td > < a href ="https://static.rust-lang.org/dist/rust-beta-i686-apple-darwin.pkg "> < div class ="inst-button "> 32位</ div > </ a > </ td >
80
79
</ tr >
81
80
< tr >
82
- < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > † </ sup > </ a > ) (.msi)</ td >
81
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > 〔注〕 </ sup > </ a > ) (.msi)</ td >
83
82
< td > < a href ="https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-gnu.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
84
83
< td > < a href ="https://static.rust-lang.org/dist/rust-beta-i686-pc-windows-gnu.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
85
84
</ tr >
86
85
< tr >
87
- < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > † </ sup > </ a > ) (.msi) </ td >
86
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > 〔注〕 </ sup > </ a > ) (.msi) </ td >
88
87
< td > < a href ="https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
89
88
< td > < a href ="https://static.rust-lang.org/dist/rust-beta-i686-pc-windows-msvc.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
90
89
< td > </ td >
91
90
</ tr >
92
91
< tr > < td > </ td > </ tr >
93
92
< tr >
94
93
< td class ="inst-type "> </ td >
95
- < td colspan ="2 "> < a href ="https://static.rust-lang.org/dist/rustc-beta-src.tar.gz "> < div class ="inst-button "> Source </ div > </ a > </ td >
94
+ < td colspan ="2 "> < a href ="https://static.rust-lang.org/dist/rustc-beta-src.tar.gz "> < div class ="inst-button "> 源码 </ div > </ a > </ td >
96
95
</ tr >
97
96
</ tbody > </ table >
98
97
</ div >
99
98
</ div >
100
99
101
100
< div class ="row ">
102
101
< div class ="col-md-10 col-md-offset-1 ">
103
- < p > An easy way to install the beta binaries for Linux and Mac is to run this in your shell: </ p >
102
+ < p > 也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(测试绿化版): </ p >
104
103
< pre > < code > curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=beta</ code > </ pre >
105
104
</ div >
106
105
</ div >
@@ -109,12 +108,12 @@ <h2 id="beta">Beta ({{ site.beta }})</h2>
109
108
110
109
< div class ="row install ">
111
110
< div class ="col-md-4 side-header ">
112
- < h2 id ="nightly "> Nightly ({{ site.nightly }})</ h2 >
111
+ < h2 id ="nightly "> 开发版( Nightly) ({{ site.nightly }})</ h2 >
113
112
< p >
114
- The current development branch.
115
- It includes
116
- < a href ="https://doc.rust-lang.org/book/nightly-rust.html "> unstable features </ a >
117
- that are not available in the betas or stable releases.
113
+ 当前正在开发的分支。
114
+ 它包括若干
115
+ < a href ="https://doc.rust-lang.org/book/nightly-rust.html "> 不稳定的特性 </ a > ,
116
+ 这些特性在稳定版和测试版中都是不支持的。
118
117
</ p >
119
118
</ div >
120
119
< div class ="col-md-8 ">
@@ -130,28 +129,28 @@ <h2 id="nightly">Nightly ({{ site.nightly }})</h2>
130
129
< td > < a href ="https://static.rust-lang.org/dist/rust-nightly-i686-apple-darwin.pkg "> < div class ="inst-button "> 32位</ div > </ a > </ td >
131
130
</ tr >
132
131
< tr >
133
- < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > † </ sup > </ a > ) (.msi)</ td >
132
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> GNU ABI < sup > 〔注〕 </ sup > </ a > ) (.msi)</ td >
134
133
< td > < a href ="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
135
134
< td > < a href ="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
136
135
</ tr >
137
136
< tr >
138
- < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > † </ sup > </ a > ) (.msi) </ td >
137
+ < td class ="inst-type "> Windows (< a href ="#win-foot "> MSVC ABI < sup > 〔注〕 </ sup > </ a > ) (.msi) </ td >
139
138
< td > < a href ="https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-msvc.msi "> < div class ="inst-button "> 64位</ div > </ a > </ td >
140
139
< td > < a href ="https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-msvc.msi "> < div class ="inst-button "> 32位</ div > </ a > </ td >
141
140
< td > </ td >
142
141
</ tr >
143
142
< tr > < td > </ td > </ tr >
144
143
< tr >
145
144
< td class ="inst-type "> </ td >
146
- < td colspan ="2 "> < a href ="https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz "> < div class ="inst-button "> Source </ div > </ a > </ td >
145
+ < td colspan ="2 "> < a href ="https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz "> < div class ="inst-button "> 源码 </ div > </ a > </ td >
147
146
</ tr >
148
147
</ tbody > </ table >
149
148
</ div >
150
149
</ div >
151
150
152
151
< div class ="row ">
153
152
< div class ="col-md-10 col-md-offset-1 ">
154
- < p > An easy way to install the nightly binaries for Linux and Mac is to run this in your shell: </ p >
153
+ < p > 也可以快捷的在Linux和Mac系统中的终端运行来安装Rust(开发绿化版): </ p >
155
154
< pre > < code > curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly</ code > </ pre >
156
155
</ div >
157
156
</ div >
@@ -161,7 +160,7 @@ <h2 id="nightly">Nightly ({{ site.nightly }})</h2>
161
160
< div class ="row ">
162
161
< div class ="col-md-12 ">
163
162
< p >
164
- Discover other downloads in < a href ="https://static.rust-lang.org/dist/index.html "> the archives. </ a >
163
+ 这里是一些早期版本的 < a href ="https://static.rust-lang.org/dist/index.html "> 存档 </ a > 。
165
164
</ p >
166
165
</ div >
167
166
</ div >
@@ -172,33 +171,32 @@ <h2 id="nightly">Nightly ({{ site.nightly }})</h2>
172
171
< div class ="col-md-12 ">
173
172
< a id ="win-foot "> </ a >
174
173
< p >
175
- < em > † </ em >
176
- There are two prominent
174
+ < em > 〔注〕 </ em >
175
+ 在 Windows 操作系统中有两个可供选择
177
176
< a href ="https://en.wikipedia.org/wiki/Application_binary_interface "> ABIs</ a >
178
- in use on Windows: the native (MSVC) ABI used by
177
+ 的版本。使用已经安装的 (MSVC) ABI 需要
179
178
< a href ="https://www.visualstudio.com "> Visual Studio</ a > ,
180
- and the GNU ABI used by the
181
- < a href ="https://gcc.gnu.org/ "> GCC toolchain </ a > .
179
+ ,而使用 GNU ABI 则需要
180
+ < a href ="https://gcc.gnu.org/ "> GCC 工具链 </ a > .
182
181
Which version of Rust you need depends largely on what C/C++ libraries you want to interoperate with:
183
182
for interop with software produced by Visual Studio use the MSVC build of Rust; for interop with
184
183
GNU software built using the
185
- < a href ="https://msys2.github.io/ "> MinGW/MSYS2 toolchain </ a >
184
+ < a href ="https://msys2.github.io/ "> MinGW/MSYS2 工具链 </ a >
186
185
use the GNU build.
187
186
</ p >
188
187
< p >
189
188
MSVC builds of Rust additionally require the Microsoft Visual
190
- C++ build tools for Visual Studio 2013 or later.
189
+ C++ build tools for Visual Studio 2013 或更高版本。
191
190
The easiest way to acquire the build tools is by installing
192
191
< a href ="http://landinghub.visualstudio.com/visual-cpp-build-tools ">
193
192
Microsoft Visual C++ Build Tools 2015</ a >
194
193
which provides just the Visual C++ build tools.
195
- Alternately, you can < a href ="https://www.visualstudio.com/downloads/ "> install </ a >
194
+ Alternately, you can < a href ="https://www.visualstudio.com/downloads/ "> 安装 </ a >
196
195
Visual Studio 2015 or Visual Studio 2013 and during install select the "C++ tools".
197
196
No additional software installation is necessary for basic use of the GNU build.
198
197
</ p >
199
198
< p >
200
- Rust's support for the GNU ABI is more mature, and is recommended for typical
201
- uses.
199
+ Rust 对 GNU ABI 的支持更加成熟,建议作为典型用途。
202
200
</ p >
203
201
</ div >
204
202
</ div >
0 commit comments