Skip to content

Commit d7df6dc

Browse files
committed
Merge remote-tracking branch 'rust-lang/master' into iss29367-windows-docs
2 parents e406cd1 + f420965 commit d7df6dc

File tree

1,611 files changed

+41407
-30576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,611 files changed

+41407
-30576
lines changed

.gitmodules

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@
2222
path = src/doc/nomicon
2323
url = https://github.com/rust-lang-nursery/nomicon.git
2424
[submodule "src/tools/cargo"]
25-
path = cargo
26-
url = https://github.com/rust-lang/cargo.git
25+
path = src/tools/cargo
26+
url = https://github.com/rust-lang/cargo
2727
[submodule "reference"]
2828
path = src/doc/reference
2929
url = https://github.com/rust-lang-nursery/reference.git
3030
[submodule "book"]
3131
path = src/doc/book
32-
url = https://github.com/rust-lang/book
32+
url = https://github.com/rust-lang/book.git
33+
[submodule "src/tools/rls"]
34+
path = src/tools/rls
35+
url = https://github.com/rust-lang-nursery/rls

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Margaret Meyerhofer <[email protected]> <mmeyerho@andrew>
139139
Mark Sinclair <[email protected]>
140140
Mark Sinclair <[email protected]> =Mark Sinclair <[email protected]>
141141
Markus Westerlind <[email protected]> Markus <[email protected]>
142+
Martin Hafskjold Thoresen <[email protected]>
142143
Matej Lach <[email protected]> Matej Ľach <[email protected]>
143144
144145
Matthew Auld <[email protected]>

.travis.yml

Lines changed: 56 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,27 @@ matrix:
1515
- env: IMAGE=arm-android
1616
- env: IMAGE=armhf-gnu
1717
- env: IMAGE=cross DEPLOY=1
18+
- env: IMAGE=dist-aarch64-linux DEPLOY=1
1819
- env: IMAGE=dist-android DEPLOY=1
1920
- env: IMAGE=dist-arm-linux DEPLOY=1
20-
- env: IMAGE=dist-armv7-aarch64-linux DEPLOY=1
21-
- env: IMAGE=dist-freebsd DEPLOY=1
22-
- env: IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
21+
- env: IMAGE=dist-armhf-linux DEPLOY=1
22+
- env: IMAGE=dist-armv7-linux DEPLOY=1
2323
- env: IMAGE=dist-fuchsia DEPLOY=1
24+
- env: IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
25+
- env: IMAGE=dist-i686-freebsd DEPLOY=1
26+
- env: IMAGE=dist-i686-linux DEPLOY=1
2427
- env: IMAGE=dist-mips-linux DEPLOY=1
2528
- env: IMAGE=dist-mips64-linux DEPLOY=1
29+
- env: IMAGE=dist-mips64el-linux DEPLOY=1
30+
- env: IMAGE=dist-mipsel-linux DEPLOY=1
2631
- env: IMAGE=dist-powerpc-linux DEPLOY=1
2732
- env: IMAGE=dist-powerpc64-linux DEPLOY=1
28-
- env: IMAGE=dist-s390x-linux-netbsd DEPLOY=1
29-
- env: IMAGE=dist-x86-linux DEPLOY=1
33+
- env: IMAGE=dist-powerpc64le-linux DEPLOY=1
34+
- env: IMAGE=dist-s390x-linux DEPLOY=1
35+
- env: IMAGE=dist-x86_64-freebsd DEPLOY=1
36+
- env: IMAGE=dist-x86_64-linux DEPLOY=1
3037
- env: IMAGE=dist-x86_64-musl DEPLOY=1
38+
- env: IMAGE=dist-x86_64-netbsd DEPLOY=1
3139
- env: IMAGE=emscripten
3240
- env: IMAGE=i686-gnu
3341
- env: IMAGE=i686-gnu-nopt
@@ -40,10 +48,13 @@ matrix:
4048
- env: IMAGE=x86_64-gnu-distcheck
4149
- env: IMAGE=x86_64-gnu-incremental
4250

43-
# OSX builders
51+
# OSX builders running tests, these run the full test suite.
52+
#
53+
# Note that the compiler is compiled to target 10.8 here because the Xcode
54+
# version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
4455
- env: >
4556
RUST_CHECK_TARGET=check
46-
RUST_CONFIGURE_ARGS=--build=x86_64-apple-darwin
57+
RUST_CONFIGURE_ARGS="--build=x86_64-apple-darwin --enable-sanitizers"
4758
SRC=.
4859
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
4960
SCCACHE_ERROR_LOG=/tmp/sccache.log
@@ -52,7 +63,7 @@ matrix:
5263
os: osx
5364
osx_image: xcode8.2
5465
install: &osx_install_sccache >
55-
travis_retry curl -o /usr/local/bin/sccache https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-22-sccache-x86_64-apple-darwin &&
66+
travis_retry curl -o /usr/local/bin/sccache https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-04-29-sccache-x86_64-apple-darwin &&
5667
chmod +x /usr/local/bin/sccache &&
5768
travis_retry curl -o /usr/local/bin/stamp https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-17-stamp-x86_64-apple-darwin &&
5869
chmod +x /usr/local/bin/stamp
@@ -68,48 +79,60 @@ matrix:
6879
osx_image: xcode8.2
6980
install: *osx_install_sccache
7081
82+
# OSX builders producing releases. These do not run the full test suite and
83+
# just produce a bunch of artifacts.
84+
#
85+
# Note that these are running in the `xcode7` image instead of the
86+
# `xcode8.2` image as above. That's because we want to build releases for
87+
# OSX 10.7 and `xcode7` is the latest Xcode able to compile LLVM for 10.7.
7188
- env: >
7289
RUST_CHECK_TARGET=dist
7390
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended"
7491
SRC=.
7592
DEPLOY=1
7693
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
7794
SCCACHE_ERROR_LOG=/tmp/sccache.log
78-
MACOSX_DEPLOYMENT_TARGET=10.8
79-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
95+
MACOSX_DEPLOYMENT_TARGET=10.7
8096
os: osx
81-
osx_image: xcode8.2
82-
install: *osx_install_sccache
97+
osx_image: xcode7
98+
install:
99+
- travis_retry brew update
100+
- travis_retry brew install xz
101+
- *osx_install_sccache
83102
- env: >
84103
RUST_CHECK_TARGET=dist
85-
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended"
104+
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended --enable-sanitizers"
86105
SRC=.
87106
DEPLOY=1
88107
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
89108
SCCACHE_ERROR_LOG=/tmp/sccache.log
90-
MACOSX_DEPLOYMENT_TARGET=10.8
91-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
109+
MACOSX_DEPLOYMENT_TARGET=10.7
92110
os: osx
93-
osx_image: xcode8.2
94-
install: *osx_install_sccache
111+
osx_image: xcode7
112+
install:
113+
- travis_retry brew update
114+
- travis_retry brew install xz
115+
- *osx_install_sccache
95116
96117
# "alternate" deployments, these are "nightlies" but don't have assertions
97118
# turned on, they're deployed to a different location primarily for projects
98119
# which are stuck on nightly and don't want llvm assertions in the artifacts
99120
# that they use.
100-
- env: IMAGE=dist-x86-linux DEPLOY_ALT=1
121+
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
101122
- env: >
102123
RUST_CHECK_TARGET=dist
103124
RUST_CONFIGURE_ARGS="--enable-extended"
104125
SRC=.
105126
DEPLOY_ALT=1
106127
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
107128
SCCACHE_ERROR_LOG=/tmp/sccache.log
108-
MACOSX_DEPLOYMENT_TARGET=10.8
109-
MACOSX_STD_DEPLOYMENT_TARGET=10.7
129+
MACOSX_DEPLOYMENT_TARGET=10.7
110130
os: osx
111-
osx_image: xcode8.2
112-
install: *osx_install_sccache
131+
osx_image: xcode7
132+
install:
133+
- travis_retry brew update
134+
- travis_retry brew install xz
135+
- *osx_install_sccache
113136
114137
env:
115138
global:
@@ -133,13 +156,14 @@ before_script:
133156
script:
134157
- >
135158
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
136-
echo skipping, not a full build;
137-
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
138-
travis_retry stamp sh -c 'git submodule deinit -f . && git submodule update --init' &&
139-
stamp src/ci/run.sh;
159+
echo skipping, not a full build
140160
else
141-
travis_retry stamp sh -c 'git submodule deinit -f . && git submodule update --init' &&
142-
stamp src/ci/docker/run.sh $IMAGE;
161+
stamp src/ci/init_repo.sh . "$HOME/rustsrc" &&
162+
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
163+
stamp src/ci/run.sh;
164+
else
165+
stamp src/ci/docker/run.sh $IMAGE;
166+
fi
143167
fi
144168
145169
after_success:
@@ -169,13 +193,17 @@ after_failure:
169193
- dmesg | grep -i kill
170194

171195
# Save tagged docker images we created and load them if they're available
196+
# Travis saves caches whether the build failed or not, nuke rustsrc if
197+
# the failure was while updating it (as it may be in an bad state)
198+
# https://github.com/travis-ci/travis-ci/issues/4472
172199
before_cache:
173200
- docker history -q rust-ci |
174201
grep -v missing |
175202
xargs docker save |
176203
gzip > $HOME/docker/rust-ci.tar.gz
177204
before_install:
178205
- zcat $HOME/docker/rust-ci.tar.gz | docker load || true
206+
- mkdir -p $HOME/rustsrc
179207

180208
notifications:
181209
email: false

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ The Rust community congregates in a few places:
198198
* [users.rust-lang.org] - General discussion and broader questions.
199199
* [/r/rust] - News and general discussion.
200200

201-
[Stack Overflow]: http://stackoverflow.com/questions/tagged/rust
202-
[/r/rust]: http://reddit.com/r/rust
201+
[Stack Overflow]: https://stackoverflow.com/questions/tagged/rust
202+
[/r/rust]: https://reddit.com/r/rust
203203
[users.rust-lang.org]: https://users.rust-lang.org/
204204

205205
## Contributing

0 commit comments

Comments
 (0)