mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
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`
|
||||
* `git`
|
||||
|
||||
2. Download and build Rust:
|
||||
|
||||
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:
|
||||
2. Clone the [source] with git:
|
||||
|
||||
$ git clone https://github.com/rust-lang/rust.git
|
||||
$ 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
|
||||
$ make && make install
|
||||
|
@ -72,9 +64,6 @@ $ pacman -S base-devel
|
|||
$ ./configure
|
||||
$ make && make install
|
||||
|
||||
[repo]: https://github.com/rust-lang/rust
|
||||
[tarball]: https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz
|
||||
|
||||
## Notes
|
||||
|
||||
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 a new issue