Simplify README by not talking about the source tarball option
I believe that few enough people build from source tarballs that we don't have to talk about it explicitly.
This commit is contained in:
parent
dfc5c0f1e8
commit
4acc483106
19
README.md
19
README.md
@ -19,22 +19,14 @@ Read ["Installing Rust"][install] from [The Book][trpl].
|
|||||||
* `curl`
|
* `curl`
|
||||||
* `git`
|
* `git`
|
||||||
|
|
||||||
2. Download and build Rust:
|
2. Clone the [source] with git:
|
||||||
|
|
||||||
You can either download a [tarball] or build directly from the [repo].
|
|
||||||
|
|
||||||
To build from the [tarball] do:
|
|
||||||
|
|
||||||
$ curl -O https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz
|
|
||||||
$ tar -xzf rustc-nightly-src.tar.gz
|
|
||||||
$ cd rustc-nightly
|
|
||||||
|
|
||||||
Or to build from the [repo] do:
|
|
||||||
|
|
||||||
$ git clone https://github.com/rust-lang/rust.git
|
$ git clone https://github.com/rust-lang/rust.git
|
||||||
$ cd rust
|
$ cd rust
|
||||||
|
|
||||||
Now that you have Rust's source code, you can configure and build it:
|
[source]: https://github.com/rust-lang/rust
|
||||||
|
|
||||||
|
3. Build and install:
|
||||||
|
|
||||||
$ ./configure
|
$ ./configure
|
||||||
$ make && make install
|
$ make && make install
|
||||||
@ -72,9 +64,6 @@ $ pacman -S base-devel
|
|||||||
$ ./configure
|
$ ./configure
|
||||||
$ make && make install
|
$ make && make install
|
||||||
|
|
||||||
[repo]: https://github.com/rust-lang/rust
|
|
||||||
[tarball]: https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
Since the Rust compiler is written in Rust, it must be built by a
|
Since the Rust compiler is written in Rust, it must be built by a
|
||||||
|
2
src/llvm
2
src/llvm
@ -1 +1 @@
|
|||||||
Subproject commit 2089cab13e7f92b487ba0dc1df9f6c05116b004a
|
Subproject commit 4891e6382e3e8aa89d530aa18427836428c47157
|
Loading…
Reference in New Issue
Block a user