Skip to content

Commit 9b90f9e

Browse files
Merge pull request #1 from rust-lang/master
update
2 parents 23adf9f + 9a35232 commit 9b90f9e

File tree

5,794 files changed

+140040
-106827
lines changed

Some content is hidden

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

5,794 files changed

+140040
-106827
lines changed

.gitattributes

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
*.fixed linguist-language=Rust
88
*.mir linguist-language=Rust
99
src/etc/installer/gfx/* binary
10-
*.woff binary
1110
src/vendor/** -text
1211
Cargo.lock linguist-generated=false
12+
config.toml.example linguist-language=TOML
1313

14-
# Older git versions try to fix line endings on images, this prevents it.
14+
# Older git versions try to fix line endings on images and fonts, this prevents it.
1515
*.png binary
1616
*.ico binary
17+
*.woff binary
18+
*.woff2 binary

.github/ISSUE_TEMPLATE/diagnostics.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: Diagnostic issue
3+
about: Create a bug report or feature request for a change to `rustc`'s error output
4+
labels: A-diagnostics, T-compiler
5+
---
6+
<!--
7+
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
8+
along with any information you feel relevant to replicating the bug.
9+
10+
If you cannot produce a minimal reproduction case (something that would work in
11+
isolation), please provide the steps or even link to a repository that causes
12+
the problematic output to occur.
13+
-->
14+
15+
Given the following code: <!-- Please provide a link to play.rust-lang.org -->
16+
17+
```rust
18+
<code>
19+
```
20+
21+
The current output is:
22+
23+
```
24+
<rustc output>
25+
```
26+
27+
<!-- The following is not always necessary. -->
28+
Ideally the output should look like:
29+
30+
```
31+
<proposed output>
32+
```
33+
34+
<!--
35+
If the problem is not self-explanatory, please provide a rationale for the
36+
change.
37+
-->
38+
39+
<!--
40+
If dramatically different output is caused by small changes, consider also
41+
adding them here.
42+
43+
If you're using the stable version of the compiler, you should also check if the
44+
bug also exists in the beta or nightly versions. The output might also be
45+
different depending on the Edition.
46+
-->

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: mingw-check
4444
os: ubuntu-latest-xl
4545
env: {}
46-
- name: x86_64-gnu-llvm-9
46+
- name: x86_64-gnu-llvm-10
4747
os: ubuntu-latest-xl
4848
env: {}
4949
- name: x86_64-gnu-tools
@@ -63,7 +63,7 @@ jobs:
6363
run: "echo \"[CI_PR_NUMBER=$num]\""
6464
env:
6565
num: "${{ github.event.number }}"
66-
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
66+
if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
6767
- name: add extra environment variables
6868
run: src/ci/scripts/setup-environment.sh
6969
env:
@@ -265,7 +265,7 @@ jobs:
265265
- name: x86_64-gnu-distcheck
266266
os: ubuntu-latest-xl
267267
env: {}
268-
- name: x86_64-gnu-llvm-9
268+
- name: x86_64-gnu-llvm-10
269269
env:
270270
RUST_BACKTRACE: 1
271271
os: ubuntu-latest-xl
@@ -349,6 +349,7 @@ jobs:
349349
env:
350350
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
351351
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
352+
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
352353
os: windows-latest-xl
353354
- name: i686-mingw-1
354355
env:
@@ -424,7 +425,7 @@ jobs:
424425
run: "echo \"[CI_PR_NUMBER=$num]\""
425426
env:
426427
num: "${{ github.event.number }}"
427-
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
428+
if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
428429
- name: add extra environment variables
429430
run: src/ci/scripts/setup-environment.sh
430431
env:
@@ -531,7 +532,7 @@ jobs:
531532
run: "echo \"[CI_PR_NUMBER=$num]\""
532533
env:
533534
num: "${{ github.event.number }}"
534-
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
535+
if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
535536
- name: add extra environment variables
536537
run: src/ci/scripts/setup-environment.sh
537538
env:
@@ -621,7 +622,7 @@ jobs:
621622
if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
622623
steps:
623624
- name: checkout the source code
624-
uses: actions/checkout@v1
625+
uses: actions/checkout@v2
625626
with:
626627
fetch-depth: 2
627628
- name: publish toolstate

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# configure your local ignore list.
88
# FIXME: This needs cleanup.
99
*~
10+
*.swp
11+
*.swo
1012
.#*
1113
.DS_Store
1214
.cproject
@@ -50,4 +52,6 @@ Session.vim
5052
.cargo
5153
!/src/test/run-make/thumb-none-qemu/example/.cargo
5254
no_llvm_build
55+
**node_modules
56+
**package-lock.json
5357
# Before adding new lines, see the comment at the top.

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
[submodule "src/llvm-project"]
3838
path = src/llvm-project
3939
url = https://github.com/rust-lang/llvm-project.git
40-
branch = rustc/11.0-2021-01-05
40+
branch = rustc/12.0-2021-04-15
4141
[submodule "src/doc/embedded-book"]
4242
path = src/doc/embedded-book
4343
url = https://github.com/rust-embedded/book.git

.mailmap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ Philipp Matthias Schäfer <[email protected]>
235235
Przemysław Wesołek <[email protected]> Przemek Wesołek <[email protected]>
236236
Rafael Ávila de Espíndola <[email protected]> Rafael Avila de Espindola <espindola@dream.(none)>
237237
Ralph Giles <[email protected]> Ralph Giles <[email protected]>
238+
Ramkumar Ramachandra <[email protected]> <[email protected]>
238239
Renato Riccieri Santos Zannon <[email protected]>
239240
240241
Rob Arnold <[email protected]>
@@ -285,7 +286,7 @@ Xuefeng Wu <[email protected]> Xuefeng Wu <[email protected]>
285286
Xuefeng Wu <[email protected]> XuefengWu <[email protected]>
286287
York Xiang <[email protected]>
287288
288-
Yuki Okushi <[email protected]>
289+
289290
Zach Pomerantz <[email protected]>
290291
291292
Zack Slayton <[email protected]>

CONTRIBUTING.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
# Contributing to Rust
22

3-
Thank you for your interest in contributing to Rust!
3+
Thank you for your interest in contributing to Rust! There are many ways to contribute
4+
and we appreciate all of them.
45

5-
To get started, read the [Contributing to Rust] chapter of the [rustc-dev-guide].
6+
Documentation for contributing to Rust is located in the [Guide to Rustc Development](https://rustc-dev-guide.rust-lang.org/),
7+
commonly known as the [rustc-dev-guide]. Despite the name, this guide documents
8+
not just how to develop rustc (the Rust compiler), but also how to contribute to any part
9+
of the Rust project.
10+
11+
To get started with contributing, please read the [Contributing to Rust] chapter of the guide.
12+
That chapter explains how to get your development environment set up and how to get help.
13+
14+
## About the [rustc-dev-guide]
15+
16+
The [rustc-dev-guide] is meant to help document how rustc –the Rust compiler– works,
17+
as well as to help new contributors get involved in rustc development. It is recommend
18+
to read and understand the [rustc-dev-guide] before making a contribution. This guide
19+
talks about the different bots in the Rust ecosystem, the Rust development tools,
20+
bootstrapping, the compiler architecture, source code representation, and more.
21+
22+
## [Getting help](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions)
23+
24+
There are many ways you can get help when you're stuck. Rust has many platforms for this:
25+
[internals], [rust-zulip], and [rust-discord]. It is recommended to ask for help on
26+
the [rust-zulip], but any of these platforms are a great way to seek help and even
27+
find a mentor! You can learn more about asking questions and getting help in the
28+
[Asking Questions](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions) chapter of the [rustc-dev-guide].
629

730
## Bug reports
831

@@ -13,3 +36,6 @@ refer to [this section][contributing-bug-reports] and [open an issue][issue temp
1336
[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/
1437
[contributing-bug-reports]: https://rustc-dev-guide.rust-lang.org/contributing.html#bug-reports
1538
[issue template]: https://github.com/rust-lang/rust/issues/new/choose
39+
[internals]: https://internals.rust-lang.org
40+
[rust-discord]: http://discord.gg/rust-lang
41+
[rust-zulip]: https://rust-lang.zulipchat.com

0 commit comments

Comments
 (0)