mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
parent
6faad3ec3a
commit
21a70b38ba
@ -32,7 +32,7 @@ documentation.
|
||||
|
||||
To build from the [tarball] do:
|
||||
|
||||
$ curl -O http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
$ tar -xzf rust-nightly.tar.gz
|
||||
$ cd rust-nightly
|
||||
|
||||
@ -75,7 +75,7 @@ To easily build on windows we can use [MSYS2](http://sourceforge.net/projects/ms
|
||||
$ make && make install
|
||||
|
||||
[repo]: https://github.com/rust-lang/rust
|
||||
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
[tutorial]: http://doc.rust-lang.org/tutorial.html
|
||||
|
||||
## Notes
|
||||
|
@ -32,21 +32,21 @@ Linux or a Mac, all you need to do is this (note that you don't need to type
|
||||
in the `$`s, they just indicate the start of each command):
|
||||
|
||||
```{ignore}
|
||||
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh
|
||||
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
|
||||
```
|
||||
|
||||
(If you're concerned about `curl | sudo sh`, please keep reading. Disclaimer
|
||||
below.)
|
||||
|
||||
If you're on Windows, please [download this .exe and run
|
||||
it](http://static.rust-lang.org/dist/rust-nightly-install.exe).
|
||||
it](https://static.rust-lang.org/dist/rust-nightly-install.exe).
|
||||
|
||||
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 pass an argument to
|
||||
the script:
|
||||
|
||||
```{ignore}
|
||||
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
|
||||
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
|
||||
```
|
||||
|
||||
If you used the Windows installer, just re-run the `.exe` and it will give you
|
||||
|
@ -114,7 +114,7 @@ If you've fulfilled those prerequisites, something along these lines
|
||||
should work.
|
||||
|
||||
~~~~console
|
||||
$ curl -O http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
$ tar -xzf rust-nightly.tar.gz
|
||||
$ cd rust-nightly
|
||||
$ ./configure
|
||||
@ -131,8 +131,8 @@ When complete, `make install` will place several programs into
|
||||
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
|
||||
API-documentation tool.
|
||||
|
||||
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
[win-exe]: http://static.rust-lang.org/dist/rust-nightly-install.exe
|
||||
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
|
||||
[win-exe]: https://static.rust-lang.org/dist/rust-nightly-install.exe
|
||||
|
||||
## Compiling your first program
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user