Skip to content

Commit 00dac20

Browse files
committed
Merge branch 'update-beta-freebsd' into freebsd-posix-spawn
2 parents d740083 + 57c74c3 commit 00dac20

File tree

2,387 files changed

+46268
-32594
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,387 files changed

+46268
-32594
lines changed

.gitmodules

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@
4141
[submodule "src/dlmalloc"]
4242
path = src/dlmalloc
4343
url = https://github.com/alexcrichton/dlmalloc-rs.git
44-
[submodule "src/binaryen"]
45-
path = src/binaryen
46-
url = https://github.com/alexcrichton/binaryen.git
4744
[submodule "src/doc/rust-by-example"]
4845
path = src/doc/rust-by-example
4946
url = https://github.com/rust-lang/rust-by-example
5047
[submodule "src/llvm-emscripten"]
5148
path = src/llvm-emscripten
5249
url = https://github.com/rust-lang/llvm
50+
[submodule "src/stdsimd"]
51+
path = src/stdsimd
52+
url = https://github.com/rust-lang-nursery/stdsimd
53+
[submodule "src/tools/lld"]
54+
path = src/tools/lld
55+
url = https://github.com/rust-lang/lld.git

.mailmap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ Herman J. Radtke III <herman@hermanradtke.com> Herman J. Radtke III <hermanradtk
9595
Ilyong Cho <ilyoan@gmail.com>
9696
Ivan Ivaschenko <defuz.net@gmail.com>
9797
J. J. Weber <jjweber@gmail.com>
98-
Jakub Bukaj <jakub@jakub.cc>
99-
Jakub Bukaj <jakub@jakub.cc> <jakubw@jakubw.net>
100-
Jakub Bukaj <jakub@jakub.cc> Jakub Bukaj <jakub.bukaj@yahoo.com>
98+
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub@jakub.cc>
99+
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakubw@jakubw.net>
100+
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub.bukaj@yahoo.com>
101101
James Deng <cnjamesdeng@gmail.com> <cnJamesDeng@gmail.com>
102102
James Miller <bladeon@gmail.com> <james@aatch.net>
103103
James Perry <james.austin.perry@gmail.com>

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ matrix:
3535
NO_LLVM_ASSERTIONS=1
3636
NO_DEBUG_ASSERTIONS=1
3737
os: osx
38-
osx_image: xcode7.3
38+
osx_image: xcode9.3-moar
3939
if: branch = auto
4040
4141
# macOS builders. These are placed near the beginning because they are very
@@ -56,7 +56,7 @@ matrix:
5656
NO_LLVM_ASSERTIONS=1
5757
NO_DEBUG_ASSERTIONS=1
5858
os: osx
59-
osx_image: xcode9.2
59+
osx_image: xcode9.3-moar
6060
if: branch = auto
6161
6262
- env: >
@@ -70,7 +70,7 @@ matrix:
7070
NO_LLVM_ASSERTIONS=1
7171
NO_DEBUG_ASSERTIONS=1
7272
os: osx
73-
osx_image: xcode9.2
73+
osx_image: xcode9.3-moar
7474
if: branch = auto
7575
7676
# OSX builders producing releases. These do not run the full test suite and
@@ -81,7 +81,7 @@ matrix:
8181
# OSX 10.7 and `xcode7` is the latest Xcode able to compile LLVM for 10.7.
8282
- env: >
8383
RUST_CHECK_TARGET=dist
84-
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended --enable-profiler --enable-emscripten"
84+
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-full-tools --enable-profiler"
8585
SRC=.
8686
DEPLOY=1
8787
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
@@ -90,12 +90,12 @@ matrix:
9090
NO_LLVM_ASSERTIONS=1
9191
NO_DEBUG_ASSERTIONS=1
9292
os: osx
93-
osx_image: xcode7.3
93+
osx_image: xcode9.3-moar
9494
if: branch = auto
9595
9696
- env: >
9797
RUST_CHECK_TARGET=dist
98-
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended --enable-sanitizers --enable-profiler --enable-emscripten"
98+
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler"
9999
SRC=.
100100
DEPLOY=1
101101
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
@@ -104,7 +104,7 @@ matrix:
104104
NO_LLVM_ASSERTIONS=1
105105
NO_DEBUG_ASSERTIONS=1
106106
os: osx
107-
osx_image: xcode7.3
107+
osx_image: xcode9.3-moar
108108
if: branch = auto
109109
110110
# Linux builders, remaining docker images
@@ -188,7 +188,7 @@ matrix:
188188
script:
189189
MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
190190
. src/ci/docker/x86_64-gnu-tools/repo.sh;
191-
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE"
191+
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";
192192

193193
env:
194194
global:
@@ -275,11 +275,12 @@ after_failure:
275275
- ls -lat $HOME/Library/Logs/DiagnosticReports/
276276
- find $HOME/Library/Logs/DiagnosticReports
277277
-type f
278+
-name '*.crash'
278279
-not -name '*.stage2-*.crash'
279280
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
280281
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
281282
-exec head -750 {} \;
282-
-exec echo travis_fold":"end:crashlog \;
283+
-exec echo travis_fold":"end:crashlog \; || true
283284

284285
# attempt to debug anything killed by the oom killer on linux, just to see if
285286
# it happened

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ A version of this document [can be found online](https://www.rust-lang.org/condu
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.
1313
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
14-
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behaviour. We interpret the term "harassment" as including the definition in the <a href="http://citizencodeofconduct.org/">Citizen Code of Conduct</a>; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
14+
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term "harassment" as including the definition in the <a href="http://citizencodeofconduct.org/">Citizen Code of Conduct</a>; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
1515
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [Rust moderation team][mod_team] immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
16-
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behaviour is not welcome.
16+
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
1717

1818
## Moderation
1919

CONTRIBUTING.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ As a reminder, all contributors are expected to follow our [Code of Conduct][coc
2626
## Feature Requests
2727
[feature-requests]: #feature-requests
2828

29-
To request a change to the way that the Rust language works, please open an
30-
issue in the [RFCs repository](https://github.com/rust-lang/rfcs/issues/new)
31-
rather than this one. New features and other significant language changes
32-
must go through the RFC process.
29+
To request a change to the way the Rust language works, please head over
30+
to the [RFCs repository](https://github.com/rust-lang/rfcs) and view the
31+
[README](https://github.com/rust-lang/rfcs/blob/master/README.md)
32+
for instructions.
3333

3434
## Bug Reports
3535
[bug-reports]: #bug-reports
@@ -623,6 +623,7 @@ For people new to Rust, and just starting to contribute, or even for
623623
more seasoned developers, some useful places to look for information
624624
are:
625625

626+
* The [rustc guide] contains information about how various parts of the compiler work
626627
* [Rust Forge][rustforge] contains additional documentation, including write-ups of how to achieve common tasks
627628
* The [Rust Internals forum][rif], a place to ask questions and
628629
discuss Rust's internals
@@ -635,6 +636,7 @@ are:
635636
* **Google!** ([search only in Rust Documentation][gsearchdocs] to find types, traits, etc. quickly)
636637
* Don't be afraid to ask! The Rust community is friendly and helpful.
637638

639+
[rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/about-this-guide.html
638640
[gdfrustc]: http://manishearth.github.io/rust-internals-docs/rustc/
639641
[gsearchdocs]: https://www.google.com/search?q=site:doc.rust-lang.org+your+query+here
640642
[rif]: http://internals.rust-lang.org

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.
129129
python x.py build
130130
```
131131

132-
If you are seeing build failure when compiling `rustc_binaryen`, make sure the path
133-
length of the rust folder is not longer than 22 characters.
134-
135132
#### Specifying an ABI
136133
[specifying-an-abi]: #specifying-an-abi
137134

@@ -227,9 +224,13 @@ variety of channels on Mozilla's IRC network, irc.mozilla.org. The
227224
most popular channel is [#rust], a venue for general discussion about
228225
Rust. And a good place to ask for help would be [#rust-beginners].
229226

227+
Also, the [rustc guide] might be a good place to start if you want to
228+
find out how various parts of the compiler work.
229+
230230
[IRC]: https://en.wikipedia.org/wiki/Internet_Relay_Chat
231231
[#rust]: irc://irc.mozilla.org/rust
232232
[#rust-beginners]: irc://irc.mozilla.org/rust-beginners
233+
[rustc guide]: https://rust-lang-nursery.github.io/rustc-guide/about-this-guide.html
233234

234235
## License
235236
[license]: #license

appveyor.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ environment:
1919
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
2020
SCRIPT: python x.py test
2121
- MSYS_BITS: 32
22-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --target=i686-pc-windows-msvc
23-
SCRIPT: python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
22+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
23+
SCRIPT: python x.py test --exclude src/test/run-pass --exclude src/test/compile-fail
24+
- MSYS_BITS: 32
25+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
26+
SCRIPT: python x.py test src/test/run-pass src/test/compile-fail
2427

2528
# MSVC aux tests
2629
- MSYS_BITS: 64
27-
RUST_CHECK_TARGET: check-aux
30+
RUST_CHECK_TARGET: check-aux EXCLUDE_CARGO=1
31+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
32+
- MSYS_BITS: 64
33+
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
2834
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
2935

3036
# MSVC tools tests
@@ -47,7 +53,13 @@ environment:
4753
# SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
4854
- MSYS_BITS: 32
4955
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
50-
SCRIPT: python x.py test
56+
SCRIPT: python x.py test --exclude src/test/run-pass --exclude src/test/compile-fail
57+
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
58+
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
59+
MINGW_DIR: mingw32
60+
- MSYS_BITS: 32
61+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
62+
SCRIPT: python x.py test src/test/run-pass src/test/compile-fail
5163
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
5264
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
5365
MINGW_DIR: mingw32
@@ -61,29 +73,27 @@ environment:
6173
# 32/64 bit MSVC and GNU deployment
6274
- RUST_CONFIGURE_ARGS: >
6375
--build=x86_64-pc-windows-msvc
64-
--enable-extended
76+
--enable-full-tools
6577
--enable-profiler
66-
--enable-emscripten
6778
SCRIPT: python x.py dist
6879
DEPLOY: 1
6980
- RUST_CONFIGURE_ARGS: >
7081
--build=i686-pc-windows-msvc
7182
--target=i586-pc-windows-msvc
72-
--enable-extended
83+
--enable-full-tools
7384
--enable-profiler
74-
--enable-emscripten
7585
SCRIPT: python x.py dist
7686
DEPLOY: 1
7787
- MSYS_BITS: 32
78-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-extended --enable-emscripten
88+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-full-tools
7989
SCRIPT: python x.py dist
8090
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
8191
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
8292
MINGW_DIR: mingw32
8393
DEPLOY: 1
8494
- MSYS_BITS: 64
8595
SCRIPT: python x.py dist
86-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-extended --enable-emscripten
96+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-full-tools
8797
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
8898
MINGW_ARCHIVE: x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
8999
MINGW_DIR: mingw64

config.toml.example

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@
118118
# Indicate whether submodules are managed and updated automatically.
119119
#submodules = true
120120

121+
# Update submodules only when the checked out commit in the submodules differs
122+
# from what is committed in the main rustc repo.
123+
#fast-submodules = true
124+
121125
# The path to (or name of) the GDB executable to use. This is only used for
122126
# executing the debuginfo test suite.
123127
#gdb = "gdb"
@@ -321,11 +325,18 @@
321325
# bootstrap)
322326
#codegen-backends = ["llvm"]
323327

328+
# This is the name of the directory in which codegen backends will get installed
329+
#codegen-backends-dir = "codegen-backends"
330+
324331
# Flag indicating whether `libstd` calls an imported function to handle basic IO
325332
# when targeting WebAssembly. Enable this to debug tests for the `wasm32-unknown-unknown`
326333
# target, as without this option the test output will not be captured.
327334
#wasm-syscall = false
328335

336+
# Indicates whether LLD will be compiled and made available in the sysroot for
337+
# rustc to execute.
338+
#lld = false
339+
329340
# =============================================================================
330341
# Options for specific targets
331342
#

0 commit comments

Comments
 (0)