Skip to content

Commit ccba43d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents f9f71cc + 664c779 commit ccba43d

File tree

16,516 files changed

+33961
-140601
lines changed

Some content is hidden

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

16,516 files changed

+33961
-140601
lines changed

.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: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
[submodule "src/tools/lld"]
4242
path = src/tools/lld
4343
url = https://github.com/rust-lang/lld.git
44-
[submodule "src/libbacktrace"]
45-
path = src/libbacktrace
46-
url = https://github.com/rust-lang-nursery/libbacktrace.git
4744
[submodule "src/tools/lldb"]
4845
path = src/tools/lldb
4946
url = https://github.com/rust-lang-nursery/lldb.git

.travis.yml

Lines changed: 10 additions & 1 deletion
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:
@@ -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

COPYRIGHT

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -229,35 +229,3 @@ their own copyright notices and license terms:
229229
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
230230
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
231231
OF SUCH DAMAGE. */
232-
233-
* jemalloc, under src/jemalloc:
234-
235-
Copyright (C) 2002-2014 Jason Evans
236-
<jasone@canonware.com>. All rights reserved.
237-
Copyright (C) 2007-2012 Mozilla Foundation.
238-
All rights reserved.
239-
Copyright (C) 2009-2014 Facebook, Inc.
240-
All rights reserved.
241-
242-
Redistribution and use in source and binary forms, with or without
243-
modification, are permitted provided that the following conditions are met:
244-
1. Redistributions of source code must retain the above copyright notice(s),
245-
this list of conditions and the following disclaimer.
246-
2. Redistributions in binary form must reproduce the above copyright notice(s),
247-
this list of conditions and the following disclaimer in the documentation
248-
and/or other materials provided with the distribution.
249-
250-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S)
251-
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
252-
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
253-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
254-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S)
255-
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
256-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
257-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
258-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
259-
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
260-
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
261-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
262-
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
263-
OF SUCH DAMAGE.

Cargo.lock

Lines changed: 177 additions & 163 deletions
Large diffs are not rendered by default.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ members = [
2525
"src/tools/rustdoc-themes",
2626
]
2727
exclude = [
28-
"src/tools/rls/test_data",
2928
"build",
3029
# HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
3130
"obj",
@@ -71,4 +70,3 @@ rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
7170

7271
[patch."https://github.com/rust-lang/rust-clippy"]
7372
clippy_lints = { path = "src/tools/clippy/clippy_lints" }
74-
rustc_tools_util = { path = "src/tools/clippy/rustc_tools_util" }

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,15 @@ fetch snapshots, and an OS that can execute the available snapshot binaries.
186186

187187
Snapshot binaries are currently built and tested on several platforms:
188188

189-
| Platform / Architecture | x86 | x86_64 |
190-
|--------------------------------|-----|--------|
191-
| Windows (7, 8, Server 2008 R2) |||
192-
| Linux (2.6.18 or later) |||
193-
| OSX (10.7 Lion or later) |||
189+
| Platform / Architecture | x86 | x86_64 |
190+
|--------------------------|-----|--------|
191+
| Windows (7, 8, 10, ...) |||
192+
| Linux (2.6.18 or later) |||
193+
| OSX (10.7 Lion or later) |||
194194

195195
You may find that other platforms work, but these are our officially
196196
supported build environments that are most likely to work.
197197

198-
Rust currently needs between 600MiB and 1.5GiB of RAM to build, depending on platform.
199-
If it hits swap, it will take a very long time to build.
200-
201198
There is more advice about hacking on Rust in [CONTRIBUTING.md].
202199

203200
[CONTRIBUTING.md]: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md

config.toml.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@
9090
# with clang-cl, so this is special in that it only compiles LLVM with clang-cl
9191
#clang-cl = '/path/to/clang-cl.exe'
9292

93+
# Use libc++ when building LLVM instead of libstdc++. This is the default on
94+
# platforms already use libc++ as the default C++ library, but this option
95+
# allows you to use libc++ even on platforms when it's not. You need to ensure
96+
# that your host compiler ships with libc++.
97+
#use-libcxx = true
98+
9399
# =============================================================================
94100
# General build configuration options
95101
# =============================================================================
@@ -171,7 +177,7 @@
171177

172178
# Installs chosen set of extended tools if enables. By default builds all.
173179
# If chosen tool failed to build the installation fails.
174-
#tools = ["cargo", "rls", "rustfmt", "analysis", "src"]
180+
#tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src"]
175181

176182
# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose
177183
#verbose = 0

src/bootstrap/bin/llvm-config-wrapper.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2-
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
4-
//
5-
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8-
// option. This file may not be copied, modified, or distributed
9-
// except according to those terms.
10-
111
// The sheer existence of this file is an awful hack. See the comments in
122
// `src/bootstrap/native.rs` for why this is needed when compiling LLD.
133

0 commit comments

Comments
 (0)