Skip to content

Commit 9e191cd

Browse files
committed
auto merge of #16427 : brson/rust/https, r=thestinger
2 parents 15833d9 + 4e0a992 commit 9e191cd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ documentation.
3232

3333
To build from the [tarball] do:
3434

35-
$ curl -O http://static.rust-lang.org/dist/rust-nightly.tar.gz
35+
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
3636
$ tar -xzf rust-nightly.tar.gz
3737
$ cd rust-nightly
3838

@@ -75,7 +75,7 @@ To easily build on windows we can use [MSYS2](http://sourceforge.net/projects/ms
7575
$ make && make install
7676

7777
[repo]: https://github.com/rust-lang/rust
78-
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
78+
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
7979
[tutorial]: http://doc.rust-lang.org/tutorial.html
8080

8181
## Notes

src/doc/guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ Linux or a Mac, all you need to do is this (note that you don't need to type
3232
in the `$`s, they just indicate the start of each command):
3333

3434
```{ignore}
35-
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh
35+
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
3636
```
3737

3838
(If you're concerned about `curl | sudo sh`, please keep reading. Disclaimer
3939
below.)
4040

4141
If you're on Windows, please [download this .exe and run
42-
it](http://static.rust-lang.org/dist/rust-nightly-install.exe).
42+
it](https://static.rust-lang.org/dist/rust-nightly-install.exe).
4343

4444
If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
4545
Not every programming language is great for everyone. Just pass an argument to
4646
the script:
4747

4848
```{ignore}
49-
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
49+
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
5050
```
5151

5252
If you used the Windows installer, just re-run the `.exe` and it will give you

src/doc/tutorial.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you've fulfilled those prerequisites, something along these lines
114114
should work.
115115

116116
~~~~console
117-
$ curl -O http://static.rust-lang.org/dist/rust-nightly.tar.gz
117+
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
118118
$ tar -xzf rust-nightly.tar.gz
119119
$ cd rust-nightly
120120
$ ./configure
@@ -131,8 +131,8 @@ When complete, `make install` will place several programs into
131131
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
132132
API-documentation tool.
133133

134-
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
135-
[win-exe]: http://static.rust-lang.org/dist/rust-nightly-install.exe
134+
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
135+
[win-exe]: https://static.rust-lang.org/dist/rust-nightly-install.exe
136136

137137
## Compiling your first program
138138

src/etc/snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def scrub(b):
2828
raise Exception("missing env var CFG_SRC_DIR")
2929

3030
snapshotfile = os.path.join(src_dir, "src", "snapshots.txt")
31-
download_url_base = "http://static.rust-lang.org/stage0-snapshots"
31+
download_url_base = "https://static.rust-lang.org/stage0-snapshots"
3232
download_dir_base = "dl"
3333
download_unpack_base = os.path.join(download_dir_base, "unpack")
3434

0 commit comments

Comments
 (0)