Skip to content

Commit acdf83f

Browse files
committed
Update miri to rustc changes
1 parent d4c442d commit acdf83f

File tree

2,782 files changed

+84986
-46315
lines changed

Some content is hidden

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

2,782 files changed

+84986
-46315
lines changed

.editorconfig

-25
This file was deleted.

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ config.stamp
9595
keywords.md
9696
lexer.ml
9797
src/etc/dl
98-
src/librustc_llvm/llvmdeps.rs
9998
tmp.*.rs
10099
version.md
101100
version.ml

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@
4242
[submodule "src/tools/miri"]
4343
path = src/tools/miri
4444
url = https://github.com/solson/miri.git
45+
[submodule "src/dlmalloc"]
46+
path = src/dlmalloc
47+
url = https://github.com/alexcrichton/dlmalloc-rs.git
48+
[submodule "src/binaryen"]
49+
path = src/binaryen
50+
url = https://github.com/alexcrichton/binaryen.git

.travis.yml

+47-21
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ matrix:
1212
fast_finish: true
1313
include:
1414
# Images used in testing PR and try-build should be run first.
15-
- env: IMAGE=x86_64-gnu-llvm-3.7 RUST_BACKTRACE=1
15+
- env: IMAGE=x86_64-gnu-llvm-3.9 RUST_BACKTRACE=1
1616
if: type = pull_request OR branch = auto
1717

1818
- env: IMAGE=dist-x86_64-linux DEPLOY=1
1919
if: branch = try OR branch = auto
2020

21-
# "alternate" deployments, these are "nightlies" but don't have assertions
22-
# turned on, they're deployed to a different location primarily for projects
23-
# which are stuck on nightly and don't want llvm assertions in the artifacts
24-
# that they use.
21+
# "alternate" deployments, these are "nightlies" but have LLVM assertions
22+
# turned on, they're deployed to a different location primarily for
23+
# additional testing.
2524
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
26-
if: branch = auto
25+
if: branch = try OR branch = auto
2726

2827
- env: >
2928
RUST_CHECK_TARGET=dist
@@ -36,7 +35,7 @@ matrix:
3635
NO_LLVM_ASSERTIONS=1
3736
NO_DEBUG_ASSERTIONS=1
3837
os: osx
39-
osx_image: xcode7
38+
osx_image: xcode7.3
4039
if: branch = auto
4140
4241
# macOS builders. These are placed near the beginning because they are very
@@ -57,7 +56,7 @@ matrix:
5756
NO_LLVM_ASSERTIONS=1
5857
NO_DEBUG_ASSERTIONS=1
5958
os: osx
60-
osx_image: xcode8.2
59+
osx_image: xcode8.3
6160
if: branch = auto
6261
6362
- env: >
@@ -71,7 +70,7 @@ matrix:
7170
NO_LLVM_ASSERTIONS=1
7271
NO_DEBUG_ASSERTIONS=1
7372
os: osx
74-
osx_image: xcode8.2
73+
osx_image: xcode8.3
7574
if: branch = auto
7675
7776
# OSX builders producing releases. These do not run the full test suite and
@@ -91,7 +90,7 @@ matrix:
9190
NO_LLVM_ASSERTIONS=1
9291
NO_DEBUG_ASSERTIONS=1
9392
os: osx
94-
osx_image: xcode7
93+
osx_image: xcode7.3
9594
if: branch = auto
9695
9796
- env: >
@@ -105,15 +104,17 @@ matrix:
105104
NO_LLVM_ASSERTIONS=1
106105
NO_DEBUG_ASSERTIONS=1
107106
os: osx
108-
osx_image: xcode7
107+
osx_image: xcode7.3
109108
if: branch = auto
110109
111110
# Linux builders, remaining docker images
112111
- env: IMAGE=arm-android
113112
if: branch = auto
114113
- env: IMAGE=armhf-gnu
115114
if: branch = auto
116-
- env: IMAGE=cross DEPLOY=1
115+
- env: IMAGE=dist-various-1 DEPLOY=1
116+
if: branch = auto
117+
- env: IMAGE=dist-various-2 DEPLOY=1
117118
if: branch = auto
118119
- env: IMAGE=dist-aarch64-linux DEPLOY=1
119120
if: branch = auto
@@ -125,8 +126,6 @@ matrix:
125126
if: branch = auto
126127
- env: IMAGE=dist-armv7-linux DEPLOY=1
127128
if: branch = auto
128-
- env: IMAGE=dist-fuchsia DEPLOY=1
129-
if: branch = auto
130129
- env: IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
131130
if: branch = auto
132131
- env: IMAGE=dist-i686-freebsd DEPLOY=1
@@ -161,14 +160,16 @@ matrix:
161160
if: branch = auto
162161
- env: IMAGE=i686-gnu-nopt
163162
if: branch = auto
164-
# - env: IMAGE=wasm32 issue 42646
165-
# if: branch = auto
163+
- env: IMAGE=wasm32-unknown
164+
if: branch = auto
166165
- env: IMAGE=x86_64-gnu
167166
if: branch = auto
168167
- env: IMAGE=x86_64-gnu-full-bootstrap
169168
if: branch = auto
170169
- env: IMAGE=x86_64-gnu-aux
171170
if: branch = auto
171+
- env: IMAGE=x86_64-gnu-tools
172+
if: branch = auto
172173
- env: IMAGE=x86_64-gnu-debug
173174
if: branch = auto
174175
- env: IMAGE=x86_64-gnu-nopt
@@ -251,7 +252,14 @@ after_failure:
251252

252253
# Random attempt at debugging currently. Just poking around in here to see if
253254
# anything shows up.
254-
- ls $HOME/Library/Logs/DiagnosticReports/
255+
- ls -lat $HOME/Library/Logs/DiagnosticReports/
256+
- find $HOME/Library/Logs/DiagnosticReports
257+
-type f
258+
-not -name '*.stage2-*.crash'
259+
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
260+
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
261+
-exec head -750 {} \;
262+
-exec echo travis_fold":"end:crashlog \;
255263

256264
# attempt to debug anything killed by the oom killer on linux, just to see if
257265
# it happened
@@ -284,6 +292,7 @@ before_deploy:
284292
rm -rf obj/build/dist/doc &&
285293
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
286294
fi
295+
- travis_retry gem update --system
287296

288297
deploy:
289298
- provider: s3
@@ -300,11 +309,30 @@ deploy:
300309
branch: auto
301310
condition: $DEPLOY = 1
302311

312+
# this is the same as the above deployment provider except that it uploads to
313+
# a slightly different directory and has a different trigger
303314
- provider: s3
304315
bucket: rust-lang-ci2
305316
skip_cleanup: true
306317
local_dir: deploy
307-
upload_dir: rustc-builds-try
318+
upload_dir: rustc-builds-alt
319+
acl: public_read
320+
region: us-west-1
321+
access_key_id: AKIAJVBODR3IA4O72THQ
322+
secret_access_key:
323+
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
324+
on:
325+
branch: auto
326+
condition: $DEPLOY_ALT = 1
327+
328+
# These two providers are the same as the two above, except deploy on the
329+
# try branch. Travis does not appear to provide a way to use "or" in these
330+
# conditions.
331+
- provider: s3
332+
bucket: rust-lang-ci2
333+
skip_cleanup: true
334+
local_dir: deploy
335+
upload_dir: rustc-builds
308336
acl: public_read
309337
region: us-west-1
310338
access_key_id: AKIAJVBODR3IA4O72THQ
@@ -314,8 +342,6 @@ deploy:
314342
branch: try
315343
condition: $DEPLOY = 1
316344

317-
# this is the same as the above deployment provider except that it uploads to
318-
# a slightly different directory and has a different trigger
319345
- provider: s3
320346
bucket: rust-lang-ci2
321347
skip_cleanup: true
@@ -327,5 +353,5 @@ deploy:
327353
secret_access_key:
328354
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
329355
on:
330-
branch: auto
356+
branch: try
331357
condition: $DEPLOY_ALT = 1

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A version of this document [can be found online](https://www.rust-lang.org/condu
66

77
**Contact**: [rust-mods@rust-lang.org](mailto:rust-mods@rust-lang.org)
88

9-
* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
9+
* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
1010
* On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all.
1111
* Please be kind and courteous. There's no need to be mean or rude.
1212
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.

0 commit comments

Comments
 (0)