Skip to content

Commit e45bbaf

Browse files
committed
Fix merge conflicts
2 parents e32b8eb + b43eb42 commit e45bbaf

File tree

1,131 files changed

+6684
-3695
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,131 files changed

+6684
-3695
lines changed

.azure-pipelines/auto.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ jobs:
138138
IMAGE: x86_64-gnu-full-bootstrap
139139
x86_64-gnu-aux:
140140
IMAGE: x86_64-gnu-aux
141-
# FIXME: needs reenabling here rather than Travis
142-
# x86_64-gnu-tools:
143-
# IMAGE: x86_64-gnu-tools
141+
x86_64-gnu-tools:
142+
IMAGE: x86_64-gnu-tools
144143
x86_64-gnu-debug:
145144
IMAGE: x86_64-gnu-debug
146145
x86_64-gnu-nopt:
@@ -252,12 +251,10 @@ jobs:
252251
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
253252
VCVARS_BAT: vcvars64.bat
254253
# MSVC tools tests
255-
# FIXME: broken on azure right now, need to figure out a cause and
256-
# reenable
257-
# x86_64-msvc-tools:
258-
# MSYS_BITS: 64
259-
# SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
260-
# RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
254+
x86_64-msvc-tools:
255+
MSYS_BITS: 64
256+
SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
257+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
261258

262259
# 32/64-bit MinGW builds.
263260
#

.azure-pipelines/steps/run.yml

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
steps:
1010

11+
# Disable automatic line ending conversion, which is enabled by default on
12+
# Azure's Windows image. Having the conversion enabled caused regressions both
13+
# in our test suite (it broke miri tests) and in the ecosystem, since we
14+
# started shipping install scripts with CRLF endings instead of the old LF.
15+
- bash: git config --global core.autocrlf false
16+
displayName: "Disable git automatic line ending conversion"
17+
1118
- checkout: self
1219
fetchDepth: 2
1320

.mailmap

+2
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ Matthijs Hofstra <[email protected]>
167167
168168
Michael Williams <[email protected]>
169169
Michael Woerister <michaelwoerister@posteo> <michaelwoerister@gmail>
170+
Michael Woerister <michaelwoerister@posteo> <[email protected]>
171+
Michael Woerister <michaelwoerister@posteo> <[email protected]>
170172
Mickaël Raybaud-Roig <[email protected]> m-r-r <[email protected]>
171173
172174
Mukilan Thiagarajan <[email protected]>

.travis.yml

+5-159
Original file line numberDiff line numberDiff line change
@@ -1,164 +1,10 @@
11
language: shell
2-
sudo: required
3-
dist: xenial
4-
services:
5-
- docker
6-
addons:
7-
apt:
8-
packages:
9-
- gdb
2+
script: echo Travis CI is not used anymore
103

11-
git:
12-
depth: 2
13-
submodules: false
14-
15-
env:
16-
global:
17-
- CI_JOB_NAME=$TRAVIS_JOB_NAME
18-
19-
matrix:
20-
fast_finish: true
21-
include:
22-
- env: IMAGE=x86_64-gnu-tools
23-
name: x86_64-gnu-tools
24-
if: branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/)
25-
26-
before_install:
27-
# We'll use the AWS cli to download/upload cached docker layers as well as
28-
# push our deployments, so download that here.
29-
- pip install --user awscli; export PATH=$PATH:$HOME/.local/bin:$HOME/Library/Python/2.7/bin/
30-
- mkdir -p $HOME/rustsrc
31-
# FIXME(#46924): these two commands are required to enable IPv6,
32-
# they shouldn't exist, please revert once more official solutions appeared.
33-
# see https://github.com/travis-ci/travis-ci/issues/8891#issuecomment-353403729
34-
- if [ "$TRAVIS_OS_NAME" = linux ]; then
35-
echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json;
36-
sudo service docker restart;
37-
fi
38-
39-
install:
40-
- case "$TRAVIS_OS_NAME" in
41-
linux)
42-
travis_retry curl -fo $HOME/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-unknown-linux-musl &&
43-
chmod +x $HOME/stamp &&
44-
export PATH=$PATH:$HOME
45-
;;
46-
osx)
47-
if [[ "$SCRIPT" == "./x.py dist" ]]; then
48-
travis_retry brew update &&
49-
travis_retry brew install xz &&
50-
travis_retry brew install swig@3 &&
51-
brew link --force swig@3;
52-
fi &&
53-
travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-04-02-sccache-x86_64-apple-darwin &&
54-
chmod +x /usr/local/bin/sccache &&
55-
travis_retry curl -fo /usr/local/bin/stamp https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2017-03-17-stamp-x86_64-apple-darwin &&
56-
chmod +x /usr/local/bin/stamp &&
57-
travis_retry curl -f http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz | tar xJf - &&
58-
export CC=`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang &&
59-
export CXX=`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/bin/clang++ &&
60-
export AR=ar
61-
;;
62-
esac
63-
64-
before_script:
65-
- >
66-
echo "#### Disk usage before running script:";
67-
df -h;
68-
du . | sort -nr | head -n100
69-
- >
70-
RUN_SCRIPT="src/ci/init_repo.sh . $HOME/rustsrc";
71-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
72-
export RUN_SCRIPT="$RUN_SCRIPT && src/ci/run.sh";
73-
else
74-
export RUN_SCRIPT="$RUN_SCRIPT && src/ci/docker/run.sh $IMAGE";
75-
# Enable core dump on Linux.
76-
sudo sh -c 'echo "/checkout/obj/cores/core.%p.%E" > /proc/sys/kernel/core_pattern';
77-
fi
78-
- >
79-
if [ "$IMAGE" = mingw-check ]; then
80-
# verify the publish_toolstate script works.
81-
git clone --depth=1 https://github.com/rust-lang-nursery/rust-toolstate.git;
82-
cd rust-toolstate;
83-
python2.7 "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "" "";
84-
cd ..;
85-
rm -rf rust-toolstate;
86-
fi
87-
88-
# Log time information from this machine and an external machine for insight into possible
89-
# clock drift. Timezones don't matter since relative deltas give all the necessary info.
90-
script:
91-
- >
92-
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
93-
- stamp sh -x -c "$RUN_SCRIPT"
94-
- >
95-
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
96-
97-
after_success:
98-
- >
99-
echo "#### Build successful; Disk usage after running script:";
100-
df -h;
101-
du . | sort -nr | head -n100
102-
- >
103-
if [ "$DEPLOY$DEPLOY_ALT" == "1" ]; then
104-
mkdir -p deploy/$TRAVIS_COMMIT;
105-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
106-
rm -rf build/dist/doc &&
107-
cp -r build/dist/* deploy/$TRAVIS_COMMIT;
108-
else
109-
rm -rf obj/build/dist/doc &&
110-
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
111-
fi;
112-
ls -la deploy/$TRAVIS_COMMIT;
113-
deploy_dir=rustc-builds;
114-
if [ "$DEPLOY_ALT" == "1" ]; then
115-
deploy_dir=rustc-builds-alt;
116-
fi;
117-
travis_retry aws s3 cp --no-progress --recursive --acl public-read ./deploy s3://rust-lang-ci2/$deploy_dir
118-
fi
119-
120-
after_failure:
121-
- >
122-
echo "#### Build failed; Disk usage after running script:";
123-
df -h;
124-
du . | sort -nr | head -n100
125-
126-
# Random attempt at debugging currently. Just poking around in here to see if
127-
# anything shows up.
128-
129-
# Dump backtrace for macOS
130-
- ls -lat $HOME/Library/Logs/DiagnosticReports/
131-
- find $HOME/Library/Logs/DiagnosticReports
132-
-type f
133-
-name '*.crash'
134-
-not -name '*.stage2-*.crash'
135-
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
136-
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
137-
-exec head -750 {} \;
138-
-exec echo travis_fold":"end:crashlog \; || true
139-
140-
# Dump backtrace for Linux
141-
- ln -s . checkout &&
142-
for CORE in obj/cores/core.*; do
143-
EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|');
144-
if [ -f "$EXE" ]; then
145-
printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE";
146-
gdb --batch -q -c "$CORE" "$EXE"
147-
-iex 'set auto-load off'
148-
-iex 'dir src/'
149-
-iex 'set sysroot .'
150-
-ex bt
151-
-ex q;
152-
echo travis_fold":"end:crashlog;
153-
fi;
154-
done || true
155-
156-
# see #50887
157-
- cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
158-
159-
# attempt to debug anything killed by the oom killer on linux, just to see if
160-
# it happened
161-
- dmesg | grep -i kill
4+
branches:
5+
only:
6+
- auto
7+
- try
1628

1639
notifications:
16410
email: false

Cargo.lock

+4-22
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ version = "0.1.4"
10301030
source = "registry+https://github.com/rust-lang/crates.io-index"
10311031
dependencies = [
10321032
"mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1033-
"new_debug_unreachable 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1033+
"new_debug_unreachable 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
10341034
]
10351035

10361036
[[package]]
@@ -1760,11 +1760,8 @@ dependencies = [
17601760

17611761
[[package]]
17621762
name = "new_debug_unreachable"
1763-
version = "1.0.1"
1763+
version = "1.0.3"
17641764
source = "registry+https://github.com/rust-lang/crates.io-index"
1765-
dependencies = [
1766-
"unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1767-
]
17681765

17691766
[[package]]
17701767
name = "nodrop"
@@ -3450,7 +3447,7 @@ version = "0.7.3"
34503447
source = "registry+https://github.com/rust-lang/crates.io-index"
34513448
dependencies = [
34523449
"lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
3453-
"new_debug_unreachable 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
3450+
"new_debug_unreachable 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
34543451
"phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)",
34553452
"precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
34563453
"serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4038,14 +4035,6 @@ name = "unicode_categories"
40384035
version = "0.1.1"
40394036
source = "registry+https://github.com/rust-lang/crates.io-index"
40404037

4041-
[[package]]
4042-
name = "unreachable"
4043-
version = "1.0.0"
4044-
source = "registry+https://github.com/rust-lang/crates.io-index"
4045-
dependencies = [
4046-
"void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
4047-
]
4048-
40494038
[[package]]
40504039
name = "unstable-book-gen"
40514040
version = "0.1.0"
@@ -4124,11 +4113,6 @@ name = "version_check"
41244113
version = "0.1.5"
41254114
source = "registry+https://github.com/rust-lang/crates.io-index"
41264115

4127-
[[package]]
4128-
name = "void"
4129-
version = "1.0.2"
4130-
source = "registry+https://github.com/rust-lang/crates.io-index"
4131-
41324116
[[package]]
41334117
name = "vte"
41344118
version = "0.3.3"
@@ -4388,7 +4372,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
43884372
"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
43894373
"checksum miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "396aa0f2003d7df8395cb93e09871561ccc3e785f0acb369170e8cc74ddf9226"
43904374
"checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
4391-
"checksum new_debug_unreachable 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0cdc457076c78ab54d5e0d6fa7c47981757f1e34dc39ff92787f217dede586c4"
4375+
"checksum new_debug_unreachable 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f40f005c60db6e03bae699e414c58bf9aa7ea02a2d0b9bfbcf19286cc4c82b30"
43924376
"checksum nodrop 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2"
43934377
"checksum num-derive 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8af1847c907c2f04d7bfd572fb25bbb4385c637fe5be163cf2f8c5d778fe1e7d"
43944378
"checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea"
@@ -4552,7 +4536,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
45524536
"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
45534537
"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
45544538
"checksum unicode_categories 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
4555-
"checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56"
45564539
"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
45574540
"checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea"
45584541
"checksum utf-8 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f1262dfab4c30d5cb7c07026be00ee343a6cf5027fdc0104a9160f354e5db75c"
@@ -4562,7 +4545,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
45624545
"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
45634546
"checksum vergen 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6aba5e34f93dc7051dfad05b98a18e9156f27e7b431fe1d2398cb6061c0a1dba"
45644547
"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
4565-
"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
45664548
"checksum vte 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf"
45674549
"checksum walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d9d7ed3431229a144296213105a390676cc49c9b6a72bd19f3176c98e129fa1"
45684550
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"

RELEASES.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ Misc
309309

310310
Compatibility Notes
311311
-------------------
312-
- [`Command::before_exec` is now deprecated in favor of the
313-
unsafe method `Command::pre_exec`.][58059]
314-
- [Use of `ATOMIC_{BOOL, ISIZE, USIZE}_INIT` is now deprecated.][57425] As you
312+
- [`Command::before_exec` is being replaced by the unsafe method
313+
`Command::pre_exec`][58059] and will be deprecated with Rust 1.37.0.
314+
- [Use of `ATOMIC_{BOOL, ISIZE, USIZE}_INIT` is now deprecated][57425] as you
315315
can now use `const` functions in `static` variables.
316316

317317
[58370]: https://github.com/rust-lang/rust/pull/58370/

0 commit comments

Comments
 (0)