Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Rust
提交
a20aff31
R
Rust
项目概览
int
/
Rust
大约 1 年 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rust
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a20aff31
编写于
4月 04, 2015
作者:
M
Manish Goregaokar
浏览文件
操作
浏览文件
下载
差异文件
Rollup merge of #24032 - steveklabnik:beta_install, r=alexcrichton
Default is now beta, add nightly in the unstable section
上级
91d1e8d2
925a52cb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
52 addition
and
2 deletion
+52
-2
src/doc/trpl/installing-rust.md
src/doc/trpl/installing-rust.md
+2
-2
src/doc/trpl/unstable.md
src/doc/trpl/unstable.md
+50
-0
未找到文件。
src/doc/trpl/installing-rust.md
浏览文件 @
a20aff31
...
...
@@ -18,9 +18,9 @@ $ sudo sh rustup.sh
```
If you're on Windows, please download either the
[
32-bit
installer
](
https://static.rust-lang.org/dist/rust-
nightly
-i686-pc-windows-gnu.exe
)
installer
](
https://static.rust-lang.org/dist/rust-
1.0.0-beta
-i686-pc-windows-gnu.exe
)
or the
[
64-bit
installer
](
https://static.rust-lang.org/dist/rust-
nightly
-x86_64-pc-windows-gnu.exe
)
installer
](
https://static.rust-lang.org/dist/rust-
1.0.0-beta
-x86_64-pc-windows-gnu.exe
)
and run it.
If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
...
...
src/doc/trpl/unstable.md
浏览文件 @
a20aff31
% Unstable Rust
Rust provides three distribution channels for Rust: nightly, beta, and stable.
Unstable features are only available on nightly Rust. For more details on this
process, see
[
this post
](
http://blog.rust-lang.org/2014/10/30/Stability.html
)
.
To install nightly Rust, you can use
`rustup.sh`
:
```
bash
$
curl
-s
https://static.rust-lang.org/rustup.sh |
sudo
sh
-s
--
--channel
=
nightly
```
If you're concerned about the
[
potential insecurity
](
http://curlpipesh.tumblr.com/
)
of using
`curl | sudo sh`
,
please keep reading and see our disclaimer below. And feel free to use a two-step version of the installation and examine our installation script:
```
bash
$
curl
-f
-L
https://static.rust-lang.org/rustup.sh
-O
$
sudo
sh rustup.sh
--channel
=
nightly
```
If you're on Windows, please download either the
[
32-bit
installer
](
https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe
)
or the
[
64-bit
installer
](
https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.exe
)
and run it.
If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
Not every programming language is great for everyone. Just run the uninstall
script:
```
bash
$
sudo
/usr/local/lib/rustlib/uninstall.sh
```
If you used the Windows installer, just re-run the
`.exe`
and it will give you
an uninstall option.
You can re-run this script any time you want to update Rust. Which, at this
point, is often. Rust is still pre-1.0, and so people assume that you're using
a very recent Rust.
This brings me to one other point: some people, and somewhat rightfully so, get
very upset when we tell you to
`curl | sudo sh`
. And they should be! Basically,
when you do this, you are trusting that the good people who maintain Rust
aren't going to hack your computer and do bad things. That's a good instinct!
If you're one of those people, please check out the documentation on
[
building
Rust from Source
](
https://github.com/rust-lang/rust#building-from-source
)
, or
[
the official binary downloads
](
http://www.rust-lang.org/install.html
)
. And we
promise that this method will not be the way to install Rust forever: it's just
the easiest way to keep people updated while Rust is in its alpha state.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录