diff --git a/README.md b/README.md index a94c154b67d03..1da02fea01878 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/doc/guide.md b/src/doc/guide.md index f6b25d20e12dd..203b31d6c53be 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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 diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 1942ed54097fa..889ffba65518e 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -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 diff --git a/src/etc/snapshot.py b/src/etc/snapshot.py index b44adc040b743..82302da17b850 100644 --- a/src/etc/snapshot.py +++ b/src/etc/snapshot.py @@ -28,7 +28,7 @@ def scrub(b): raise Exception("missing env var CFG_SRC_DIR") snapshotfile = os.path.join(src_dir, "src", "snapshots.txt") -download_url_base = "http://static.rust-lang.org/stage0-snapshots" +download_url_base = "https://static.rust-lang.org/stage0-snapshots" download_dir_base = "dl" download_unpack_base = os.path.join(download_dir_base, "unpack")