Update docs to use HTTPS for static.rust-lang.org addresses

cc #16123
This commit is contained in:
Brian Anderson 2014-08-11 12:30:37 -07:00
parent 6faad3ec3a
commit 21a70b38ba
3 changed files with 8 additions and 8 deletions

View file

@ -32,7 +32,7 @@ documentation.
To build from the [tarball] do: 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 $ tar -xzf rust-nightly.tar.gz
$ cd rust-nightly $ cd rust-nightly
@ -75,7 +75,7 @@ To easily build on windows we can use [MSYS2](http://sourceforge.net/projects/ms
$ make && make install $ make && make install
[repo]: https://github.com/rust-lang/rust [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 [tutorial]: http://doc.rust-lang.org/tutorial.html
## Notes ## Notes

View file

@ -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): in the `$`s, they just indicate the start of each command):
```{ignore} ```{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 (If you're concerned about `curl | sudo sh`, please keep reading. Disclaimer
below.) below.)
If you're on Windows, please [download this .exe and run 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. 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 Not every programming language is great for everyone. Just pass an argument to
the script: the script:
```{ignore} ```{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 If you used the Windows installer, just re-run the `.exe` and it will give you

View file

@ -114,7 +114,7 @@ If you've fulfilled those prerequisites, something along these lines
should work. should work.
~~~~console ~~~~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 $ tar -xzf rust-nightly.tar.gz
$ cd rust-nightly $ cd rust-nightly
$ ./configure $ ./configure
@ -131,8 +131,8 @@ When complete, `make install` will place several programs into
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the `/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
API-documentation tool. API-documentation tool.
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz [tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
[win-exe]: http://static.rust-lang.org/dist/rust-nightly-install.exe [win-exe]: https://static.rust-lang.org/dist/rust-nightly-install.exe
## Compiling your first program ## Compiling your first program