Skip to content

Commit 96d6f22

Browse files
authored
Merge branch 'master' into dedup
2 parents 2285f11 + 2ccf063 commit 96d6f22

File tree

2,312 files changed

+62577
-39588
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,312 files changed

+62577
-39588
lines changed

.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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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:
@@ -425,7 +425,7 @@ jobs:
425425
run: "echo \"[CI_PR_NUMBER=$num]\""
426426
env:
427427
num: "${{ github.event.number }}"
428-
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
428+
if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
429429
- name: add extra environment variables
430430
run: src/ci/scripts/setup-environment.sh
431431
env:
@@ -532,7 +532,7 @@ jobs:
532532
run: "echo \"[CI_PR_NUMBER=$num]\""
533533
env:
534534
num: "${{ github.event.number }}"
535-
if: "success() && !env.SKIP_JOBS && github.event_name == 'pull_request'"
535+
if: "success() && !env.SKIP_JOB && github.event_name == 'pull_request'"
536536
- name: add extra environment variables
537537
run: src/ci/scripts/setup-environment.sh
538538
env:

.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-02-03
4141
[submodule "src/doc/embedded-book"]
4242
path = src/doc/embedded-book
4343
url = https://github.com/rust-embedded/book.git

.mailmap

Lines changed: 1 addition & 0 deletions
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]>

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)