Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Commit 60558cd

Browse files
committed
Merge branch 'master' of https://github.com/rust-lang/rust into yk-sync-upstream
2 parents 03c5d50 + 1aa2506 commit 60558cd

File tree

17,509 files changed

+101209
-198117
lines changed

Some content is hidden

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

17,509 files changed

+101209
-198117
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ src/etc/installer/gfx/* binary
99
*.woff binary
1010
src/vendor/** -text
1111
Cargo.lock -merge linguist-generated=false
12+
13+
# Older git versions try to fix line endings on images, this prevents it.
14+
*.png binary
15+
*.ico binary

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ __pycache__/
1313
.settings/
1414
.valgrindrc
1515
.vscode/
16+
.favorites.json
1617
/*-*-*-*/
1718
/*-*-*/
1819
/Makefile

.gitmodules

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
[submodule "src/llvm"]
2-
path = src/llvm
3-
url = https://github.com/rust-lang/llvm.git
4-
branch = master
51
[submodule "src/rust-installer"]
62
path = src/tools/rust-installer
73
url = https://github.com/rust-lang/rust-installer.git
8-
[submodule "src/liblibc"]
9-
path = src/liblibc
10-
url = https://github.com/rust-lang/libc.git
114
[submodule "src/doc/nomicon"]
125
path = src/doc/nomicon
136
url = https://github.com/rust-lang-nursery/nomicon.git
@@ -23,9 +16,6 @@
2316
[submodule "src/tools/rls"]
2417
path = src/tools/rls
2518
url = https://github.com/rust-lang-nursery/rls.git
26-
[submodule "src/libcompiler_builtins"]
27-
path = src/libcompiler_builtins
28-
url = https://github.com/rust-lang-nursery/compiler-builtins.git
2919
[submodule "src/tools/clippy"]
3020
path = src/tools/clippy
3121
url = https://github.com/rust-lang-nursery/rust-clippy.git
@@ -35,9 +25,6 @@
3525
[submodule "src/tools/miri"]
3626
path = src/tools/miri
3727
url = https://github.com/solson/miri.git
38-
[submodule "src/dlmalloc"]
39-
path = src/dlmalloc
40-
url = https://github.com/alexcrichton/dlmalloc-rs.git
4128
[submodule "src/doc/rust-by-example"]
4229
path = src/doc/rust-by-example
4330
url = https://github.com/rust-lang/rust-by-example.git
@@ -47,18 +34,13 @@
4734
[submodule "src/stdsimd"]
4835
path = src/stdsimd
4936
url = https://github.com/rust-lang-nursery/stdsimd.git
50-
[submodule "src/tools/lld"]
51-
path = src/tools/lld
52-
url = https://github.com/rust-lang/lld.git
53-
[submodule "src/libbacktrace"]
54-
path = src/libbacktrace
55-
url = https://github.com/rust-lang-nursery/libbacktrace.git
56-
[submodule "src/tools/lldb"]
57-
path = src/tools/lldb
58-
url = https://github.com/rust-lang-nursery/lldb.git
59-
branch = rust-release-80-v1
60-
[submodule "src/tools/clang"]
61-
path = src/tools/clang
62-
url = https://github.com/rust-lang-nursery/clang.git
63-
branch = rust-release-80-v1
64-
37+
[submodule "src/doc/rustc-guide"]
38+
path = src/doc/rustc-guide
39+
url = https://github.com/rust-lang/rustc-guide.git
40+
[submodule "src/doc/edition-guide"]
41+
path = src/doc/edition-guide
42+
url = https://github.com/rust-lang-nursery/edition-guide.git
43+
[submodule "src/llvm-project"]
44+
path = src/llvm-project
45+
url = https://github.com/rust-lang/llvm-project.git
46+
branch = rustc/8.0-2019-01-16

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: shell
22
sudo: required
3-
dist: trusty
3+
dist: xenial
44
services:
55
- docker
66
addons:
@@ -16,7 +16,7 @@ matrix:
1616
fast_finish: true
1717
include:
1818
# Images used in testing PR and try-build should be run first.
19-
- env: IMAGE=x86_64-gnu-llvm-5.0 RUST_BACKTRACE=1
19+
- env: IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1
2020
if: type = pull_request OR branch = auto
2121

2222
- env: IMAGE=dist-x86_64-linux DEPLOY=1
@@ -177,7 +177,7 @@ matrix:
177177
- env: IMAGE=x86_64-gnu-aux
178178
if: branch = auto
179179
- env: IMAGE=x86_64-gnu-tools
180-
if: branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri)\b)/)
180+
if: branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/)
181181
- env: IMAGE=x86_64-gnu-debug
182182
if: branch = auto
183183
- env: IMAGE=x86_64-gnu-nopt
@@ -248,6 +248,15 @@ before_script:
248248
# Enable core dump on Linux.
249249
sudo sh -c 'echo "/checkout/obj/cores/core.%p.%E" > /proc/sys/kernel/core_pattern';
250250
fi
251+
- >
252+
if [ "$IMAGE" = mingw-check ]; then
253+
# verify the publish_toolstate script works.
254+
git clone --depth=1 https://github.com/rust-lang-nursery/rust-toolstate.git;
255+
cd rust-toolstate;
256+
python2.7 "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "" "";
257+
cd ..;
258+
rm -rf rust-toolstate;
259+
fi
251260
252261
# Log time information from this machine and an external machine for insight into possible
253262
# clock drift. Timezones don't matter since relative deltas give all the necessary info.

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ And if someone takes issue with something you said or did, resist the urge to be
3535

3636
The enforcement policies listed above apply to all official Rust venues; including official IRC channels (#rust, #rust-internals, #rust-tools, #rust-libs, #rustc, #rust-beginners, #rust-docs, #rust-community, #rust-lang, and #cargo); GitHub repositories under rust-lang, rust-lang-nursery, and rust-lang-deprecated; and all forums under rust-lang.org (users.rust-lang.org, internals.rust-lang.org). For other projects adopting the Rust Code of Conduct, please contact the maintainers of those projects for enforcement. If you wish to use this code of conduct for your own project, consider explicitly mentioning your moderation policy or making a copy with your own moderation policy so as to avoid confusion.
3737

38-
*Adapted from the [Node.js Policy on Trolling](http://blog.izs.me/post/30036893703/policy-on-trolling) as well as the [Contributor Covenant v1.3.0](https://www.contributor-covenant.org/version/1/3/0/).*
38+
*Adapted from the [Node.js Policy on Trolling](https://blog.izs.me/2012/08/policy-on-trolling) as well as the [Contributor Covenant v1.3.0](https://www.contributor-covenant.org/version/1/3/0/).*
3939

4040
[mod_team]: https://www.rust-lang.org/team.html#Moderation-team

0 commit comments

Comments
 (0)