Skip to content

Commit 48fa6f9

Browse files
committed
Auto merge of #49696 - alexcrichton:rollup, r=alexcrichton
Rollup of 8 pull requests Successful merges: - #49045 (Make queries thread safe) - #49350 (Expand macros in `extern {}` blocks) - #49497 (Chalkify - Tweak `Clause` definition and HRTBs) - #49597 (proc_macro: Reorganize public API) - #49686 (typos) - #49621 - #49697 - #49705 Failed merges:
2 parents 7222241 + cd615e9 commit 48fa6f9

Some content is hidden

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

55 files changed

+1420
-436
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ matrix:
2121
# "alternate" deployments, these are "nightlies" but have LLVM assertions
2222
# turned on, they're deployed to a different location primarily for
2323
# additional testing.
24-
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
24+
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1 CI_JOB_NAME=dist-x86_64-linux-alt
2525
if: branch = try OR branch = auto
2626

2727
- env: >
@@ -33,6 +33,7 @@ matrix:
3333
MACOSX_DEPLOYMENT_TARGET=10.7
3434
NO_LLVM_ASSERTIONS=1
3535
NO_DEBUG_ASSERTIONS=1
36+
CI_JOB_NAME=dist-x86_64-apple-alt
3637
os: osx
3738
osx_image: xcode9.3-moar
3839
if: branch = auto
@@ -53,6 +54,7 @@ matrix:
5354
MACOSX_STD_DEPLOYMENT_TARGET=10.7
5455
NO_LLVM_ASSERTIONS=1
5556
NO_DEBUG_ASSERTIONS=1
57+
CI_JOB_NAME=x86_64-apple
5658
os: osx
5759
osx_image: xcode9.3-moar
5860
if: branch = auto
@@ -66,6 +68,7 @@ matrix:
6668
MACOSX_STD_DEPLOYMENT_TARGET=10.7
6769
NO_LLVM_ASSERTIONS=1
6870
NO_DEBUG_ASSERTIONS=1
71+
CI_JOB_NAME=i686-apple
6972
os: osx
7073
osx_image: xcode9.3-moar
7174
if: branch = auto
@@ -85,6 +88,7 @@ matrix:
8588
MACOSX_DEPLOYMENT_TARGET=10.7
8689
NO_LLVM_ASSERTIONS=1
8790
NO_DEBUG_ASSERTIONS=1
91+
CI_JOB_NAME=dist-i686-apple
8892
os: osx
8993
osx_image: xcode9.3-moar
9094
if: branch = auto
@@ -98,6 +102,7 @@ matrix:
98102
MACOSX_DEPLOYMENT_TARGET=10.7
99103
NO_LLVM_ASSERTIONS=1
100104
NO_DEBUG_ASSERTIONS=1
105+
CI_JOB_NAME=dist-x86_64-apple
101106
os: osx
102107
osx_image: xcode9.3-moar
103108
if: branch = auto

appveyor.yml

+14
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,31 @@ environment:
1818
- MSYS_BITS: 64
1919
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
2020
SCRIPT: python x.py test
21+
CI_JOB_NAME: x86_64-msvc
2122
- MSYS_BITS: 32
2223
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
2324
SCRIPT: make appveyor-subset-1
25+
CI_JOB_NAME: i686-msvc-1
2426
- MSYS_BITS: 32
2527
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
2628
SCRIPT: make appveyor-subset-2
29+
CI_JOB_NAME: i686-msvc-2
2730

2831
# MSVC aux tests
2932
- MSYS_BITS: 64
3033
RUST_CHECK_TARGET: check-aux EXCLUDE_CARGO=1
3134
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
35+
CI_JOB_NAME: x86_64-msvc-aux
3236
- MSYS_BITS: 64
3337
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
3438
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
39+
CI_JOB_NAME: x86_64-msvc-cargo
3540

3641
# MSVC tools tests
3742
- MSYS_BITS: 64
3843
SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
3944
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
45+
CI_JOB_NAME: x86_64-msvc-tools
4046

4147
# 32/64-bit MinGW builds.
4248
#
@@ -57,18 +63,21 @@ environment:
5763
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
5864
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
5965
MINGW_DIR: mingw32
66+
CI_JOB_NAME: i686-mingw-1
6067
- MSYS_BITS: 32
6168
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
6269
SCRIPT: make appveyor-subset-2
6370
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
6471
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
6572
MINGW_DIR: mingw32
73+
CI_JOB_NAME: i686-mingw-2
6674
- MSYS_BITS: 64
6775
SCRIPT: python x.py test
6876
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu
6977
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
7078
MINGW_ARCHIVE: x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
7179
MINGW_DIR: mingw64
80+
CI_JOB_NAME: x86_64-mingw
7281

7382
# 32/64 bit MSVC and GNU deployment
7483
- RUST_CONFIGURE_ARGS: >
@@ -77,33 +86,38 @@ environment:
7786
--enable-profiler
7887
SCRIPT: python x.py dist
7988
DEPLOY: 1
89+
CI_JOB_NAME: dist-x86_64-msvc
8090
- RUST_CONFIGURE_ARGS: >
8191
--build=i686-pc-windows-msvc
8292
--target=i586-pc-windows-msvc
8393
--enable-full-tools
8494
--enable-profiler
8595
SCRIPT: python x.py dist
8696
DEPLOY: 1
97+
CI_JOB_NAME: dist-i686-msvc
8798
- MSYS_BITS: 32
8899
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-full-tools
89100
SCRIPT: python x.py dist
90101
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
91102
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
92103
MINGW_DIR: mingw32
93104
DEPLOY: 1
105+
CI_JOB_NAME: dist-i686-mingw
94106
- MSYS_BITS: 64
95107
SCRIPT: python x.py dist
96108
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-full-tools
97109
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
98110
MINGW_ARCHIVE: x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
99111
MINGW_DIR: mingw64
100112
DEPLOY: 1
113+
CI_JOB_NAME: dist-x86_64-mingw
101114

102115
# "alternate" deployment, see .travis.yml for more info
103116
- MSYS_BITS: 64
104117
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
105118
SCRIPT: python x.py dist
106119
DEPLOY_ALT: 1
120+
CI_JOB_NAME: dist-x86_64-msvc-alt
107121

108122
matrix:
109123
fast_finish: true

src/ci/docker/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ exec docker \
130130
--env TRAVIS \
131131
--env TRAVIS_BRANCH \
132132
--env TOOLSTATE_REPO_ACCESS_TOKEN \
133+
--env CI_JOB_NAME="${CI_JOB_NAME-$IMAGE}" \
133134
--volume "$HOME/.cargo:/cargo" \
134135
--volume "$HOME/rustsrc:$HOME/rustsrc" \
135136
--init \

src/ci/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
set -e
1313

14+
if [ -n "$CI_JOB_NAME" ]; then
15+
echo "[CI_JOB_NAME=$CI_JOB_NAME]"
16+
fi
17+
1418
if [ "$NO_CHANGE_USER" = "" ]; then
1519
if [ "$LOCAL_USER_ID" != "" ]; then
1620
useradd --shell /bin/bash -u $LOCAL_USER_ID -o -c "" -m user

src/liballoc/boxed.rs

+3
Original file line numberDiff line numberDiff line change
@@ -845,3 +845,6 @@ impl<T: ?Sized> fmt::Pointer for PinBox<T> {
845845

846846
#[unstable(feature = "pin", issue = "49150")]
847847
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<PinBox<U>> for PinBox<T> {}
848+
849+
#[unstable(feature = "pin", issue = "49150")]
850+
unsafe impl<T: ?Sized> Unpin for PinBox<T> {}

src/libcore/mem.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1213,3 +1213,6 @@ impl<'a, T: ?Sized> fmt::Pointer for Pin<'a, T> {
12131213

12141214
#[unstable(feature = "pin", issue = "49150")]
12151215
impl<'a, T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Pin<'a, U>> for Pin<'a, T> {}
1216+
1217+
#[unstable(feature = "pin", issue = "49150")]
1218+
unsafe impl<'a, T: ?Sized> Unpin for Pin<'a, T> {}

0 commit comments

Comments
 (0)