Skip to content

Commit 955b37b

Browse files
authored
Merge branch 'master' into box-alloc
2 parents d5720bb + 8e6f69a commit 955b37b

File tree

895 files changed

+16033
-11277
lines changed

Some content is hidden

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

895 files changed

+16033
-11277
lines changed

.github/ISSUE_TEMPLATE/regression.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
name: Regression
3+
about: Report something that unexpectedly changed between Rust versions.
4+
labels: C-bug regression-untriaged
5+
---
6+
<!--
7+
Thank you for filing a regression report! 🐛 A regression is something that changed between versions of Rust but was not supposed to.
8+
9+
Please provide a short summary of the regression, along with any information you feel is relevant to replicate it.
10+
-->
11+
12+
### Code
13+
14+
I tried this code:
15+
16+
```rust
17+
<code>
18+
```
19+
20+
I expected to see this happen: *explanation*
21+
22+
Instead, this happened: *explanation*
23+
24+
### Version it worked on
25+
26+
<!--
27+
Provide the most recent version this worked on, for example:
28+
29+
It most recently worked on: Rust 1.47
30+
-->
31+
32+
It most recently worked on: <!-- version -->
33+
34+
### Version with regression
35+
36+
<!--
37+
Provide the version you are using that has the regression.
38+
-->
39+
40+
`rustc --version --verbose`:
41+
```
42+
<version>
43+
```
44+
45+
<!--
46+
Did the compiler crash? If so, please provide a backtrace.
47+
-->
48+
49+
### Backtrace
50+
<!--
51+
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
52+
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
53+
-->
54+
<details><summary>Backtrace</summary>
55+
<p>
56+
57+
```
58+
<backtrace>
59+
```
60+
61+
</p>
62+
</details>
63+
64+
<!--
65+
If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly.
66+
67+
@rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged
68+
-->

.github/workflows/ci.yml

+33-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
- name: install sccache
9090
run: src/ci/scripts/install-sccache.sh
9191
if: success() && !env.SKIP_JOB
92+
- name: select Xcode
93+
run: src/ci/scripts/select-xcode.sh
94+
if: success() && !env.SKIP_JOB
9295
- name: install clang
9396
run: src/ci/scripts/install-clang.sh
9497
if: success() && !env.SKIP_JOB
@@ -300,6 +303,20 @@ jobs:
300303
NO_LLVM_ASSERTIONS: 1
301304
NO_DEBUG_ASSERTIONS: 1
302305
os: macos-latest
306+
- name: dist-aarch64-apple
307+
env:
308+
SCRIPT: "./x.py dist --stage 2"
309+
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
310+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
311+
SELECT_XCODE: /Applications/Xcode_12.2.app
312+
USE_XCODE_CLANG: 1
313+
MACOSX_DEPLOYMENT_TARGET: 11.0
314+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
315+
NO_LLVM_ASSERTIONS: 1
316+
NO_DEBUG_ASSERTIONS: 1
317+
DIST_REQUIRE_ALL_TOOLS: 1
318+
JEMALLOC_SYS_WITH_LG_PAGE: 14
319+
os: macos-latest
303320
- name: x86_64-msvc-1
304321
env:
305322
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
@@ -369,7 +386,7 @@ jobs:
369386
os: windows-latest-xl
370387
- name: dist-x86_64-msvc
371388
env:
372-
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
389+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler"
373390
SCRIPT: python x.py dist
374391
DIST_REQUIRE_ALL_TOOLS: 1
375392
os: windows-latest-xl
@@ -379,6 +396,12 @@ jobs:
379396
SCRIPT: python x.py dist
380397
DIST_REQUIRE_ALL_TOOLS: 1
381398
os: windows-latest-xl
399+
- name: dist-aarch64-msvc
400+
env:
401+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=aarch64-pc-windows-msvc --enable-full-tools --enable-profiler"
402+
SCRIPT: python x.py dist
403+
DIST_REQUIRE_ALL_TOOLS: 0
404+
os: windows-latest-xl
382405
- name: dist-i686-mingw
383406
env:
384407
RUST_CONFIGURE_ARGS: "--build=i686-pc-windows-gnu --enable-full-tools --enable-profiler"
@@ -437,6 +460,9 @@ jobs:
437460
- name: install sccache
438461
run: src/ci/scripts/install-sccache.sh
439462
if: success() && !env.SKIP_JOB
463+
- name: select Xcode
464+
run: src/ci/scripts/select-xcode.sh
465+
if: success() && !env.SKIP_JOB
440466
- name: install clang
441467
run: src/ci/scripts/install-clang.sh
442468
if: success() && !env.SKIP_JOB
@@ -544,6 +570,9 @@ jobs:
544570
- name: install sccache
545571
run: src/ci/scripts/install-sccache.sh
546572
if: success() && !env.SKIP_JOB
573+
- name: select Xcode
574+
run: src/ci/scripts/select-xcode.sh
575+
if: success() && !env.SKIP_JOB
547576
- name: install clang
548577
run: src/ci/scripts/install-clang.sh
549578
if: success() && !env.SKIP_JOB
@@ -648,6 +677,9 @@ jobs:
648677
- name: install sccache
649678
run: src/ci/scripts/install-sccache.sh
650679
if: success() && !env.SKIP_JOB
680+
- name: select Xcode
681+
run: src/ci/scripts/select-xcode.sh
682+
if: success() && !env.SKIP_JOB
651683
- name: install clang
652684
run: src/ci/scripts/install-clang.sh
653685
if: success() && !env.SKIP_JOB

.gitmodules

+1-1
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-2020-09-22
40+
branch = rustc/11.0-2020-10-12
4141
[submodule "src/doc/embedded-book"]
4242
path = src/doc/embedded-book
4343
url = https://github.com/rust-embedded/book.git

0 commit comments

Comments
 (0)