Skip to content

Commit 7ebf1a8

Browse files
committed
Merge branch 'main' into pub-in-priv-err
2 parents bb3e619 + 62d7ed4 commit 7ebf1a8

File tree

13,314 files changed

+212338
-132789
lines changed

Some content is hidden

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

13,314 files changed

+212338
-132789
lines changed

.github/ISSUE_TEMPLATE/diagnostics.yaml

+16-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,23 @@ body:
5252
render: Rust
5353
validations:
5454
required: false
55-
- type: markdown
55+
- type: textarea
56+
id: version
5657
attributes:
57-
value: |
58-
If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. The output might also be different depending on the Edition.
58+
label: Rust Version
59+
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release!
60+
placeholder: |
61+
$ rustc --version --verbose
62+
rustc 1.XX.Y (SHORTHASH DATE)
63+
binary: rustc
64+
commit-hash: LONGHASHVALUE
65+
commit-date: DATE
66+
host: PLATFORMTRIPLE
67+
release: 1.XX.Y
68+
LLVM version: XX.YY.ZZ
69+
render: Shell
70+
validations:
71+
required: true
5972
- type: textarea
6073
id: extra
6174
attributes:

.github/ISSUE_TEMPLATE/ice.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ body:
4040
id: version
4141
attributes:
4242
label: Rust Version
43-
description: Please provide the `rustc` version, `rustc --version --verbose`
43+
description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release!
4444
placeholder: |
4545
$ rustc --version --verbose
4646
rustc 1.XX.Y (SHORTHASH DATE)

.github/workflows/ci.yml

+20-9
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ jobs:
5656
- name: mingw-check-tidy
5757
os: ubuntu-20.04-4core-16gb
5858
env: {}
59-
- name: x86_64-gnu-llvm-15
59+
- name: x86_64-gnu-llvm-16
60+
env:
61+
ENABLE_GCC_CODEGEN: "1"
6062
os: ubuntu-20.04-16core-64gb
61-
env: {}
6263
- name: x86_64-gnu-tools
6364
os: ubuntu-20.04-16core-64gb
6465
env: {}
@@ -105,6 +106,9 @@ jobs:
105106
- name: install clang
106107
run: src/ci/scripts/install-clang.sh
107108
if: success() && !env.SKIP_JOB
109+
- name: install tidy
110+
run: src/ci/scripts/install-tidy.sh
111+
if: success() && !env.SKIP_JOB
108112
- name: install WIX
109113
run: src/ci/scripts/install-wix.sh
110114
if: success() && !env.SKIP_JOB
@@ -284,6 +288,10 @@ jobs:
284288
- name: x86_64-gnu-aux
285289
os: ubuntu-20.04-4core-16gb
286290
env: {}
291+
- name: x86_64-gnu-integration
292+
env:
293+
CI_ONLY_WHEN_CHANNEL: nightly
294+
os: ubuntu-20.04-16core-64gb
287295
- name: x86_64-gnu-debug
288296
os: ubuntu-20.04-8core-32gb
289297
env: {}
@@ -298,10 +306,6 @@ jobs:
298306
env:
299307
RUST_BACKTRACE: 1
300308
os: ubuntu-20.04-8core-32gb
301-
- name: x86_64-gnu-llvm-15
302-
env:
303-
RUST_BACKTRACE: 1
304-
os: ubuntu-20.04-8core-32gb
305309
- name: x86_64-gnu-nopt
306310
os: ubuntu-20.04-4core-16gb
307311
env: {}
@@ -357,8 +361,8 @@ jobs:
357361
os: macos-13
358362
- name: dist-aarch64-apple
359363
env:
360-
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
361-
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
364+
SCRIPT: "./x.py dist bootstrap --include-default-paths --stage 2"
365+
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --disable-docs --set rust.jemalloc --set llvm.ninja=false"
362366
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
363367
SELECT_XCODE: /Applications/Xcode_13.4.1.app
364368
USE_XCODE_CLANG: 1
@@ -368,7 +372,8 @@ jobs:
368372
NO_DEBUG_ASSERTIONS: 1
369373
NO_OVERFLOW_CHECKS: 1
370374
DIST_REQUIRE_ALL_TOOLS: 1
371-
os: macos-13-xlarge
375+
JEMALLOC_SYS_WITH_LG_PAGE: 14
376+
os: macos-13
372377
- name: x86_64-msvc
373378
env:
374379
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"
@@ -482,6 +487,9 @@ jobs:
482487
- name: install clang
483488
run: src/ci/scripts/install-clang.sh
484489
if: success() && !env.SKIP_JOB
490+
- name: install tidy
491+
run: src/ci/scripts/install-tidy.sh
492+
if: success() && !env.SKIP_JOB
485493
- name: install WIX
486494
run: src/ci/scripts/install-wix.sh
487495
if: success() && !env.SKIP_JOB
@@ -606,6 +614,9 @@ jobs:
606614
- name: install clang
607615
run: src/ci/scripts/install-clang.sh
608616
if: success() && !env.SKIP_JOB
617+
- name: install tidy
618+
run: src/ci/scripts/install-tidy.sh
619+
if: success() && !env.SKIP_JOB
609620
- name: install WIX
610621
run: src/ci/scripts/install-wix.sh
611622
if: success() && !env.SKIP_JOB

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
[submodule "src/llvm-project"]
3434
path = src/llvm-project
3535
url = https://github.com/rust-lang/llvm-project.git
36-
branch = rustc/17.0-2023-09-19
36+
branch = rustc/17.0-2023-12-14
3737
shallow = true
3838
[submodule "src/doc/embedded-book"]
3939
path = src/doc/embedded-book

.mailmap

+2-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ Val Markovic <[email protected]>
575575
Valerii Lashmanov <[email protected]>
576576
Vitali Haravy <[email protected]> Vitali Haravy <[email protected]>
577577
Vitaly Shukela <[email protected]>
578-
Waffle Maybe <[email protected]>
578+
Waffle Lapkin <[email protected]>
579+
Waffle Lapkin <[email protected]>
579580
580581
whitequark <[email protected]>
581582

.reuse/dep5

+37-11
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# WARNING: this metadata is currently incomplete, do not rely on it yet.
22

33
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
4-
Files-Excluded:
5-
src/llvm-project
64

75
# Note that we're explicitly listing the individual files at the root of the
86
# repository rather than just having `Files: *`. This is explicitly done to
@@ -39,13 +37,8 @@ Files: compiler/*
3937
Copyright: The Rust Project Developers (see https://thanks.rust-lang.org)
4038
License: MIT or Apache-2.0
4139

42-
Files: compiler/rustc_codegen_cranelift/src/cranelift_native.rs
43-
Copyright: The Cranelift Project Developers
44-
The Rust Project Developers (see https://thanks.rust-lang.org)
45-
License: Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT)
46-
4740
Files: compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
48-
Copyright: LLVM authors
41+
Copyright: 2003-2019 University of Illinois at Urbana-Champaign.
4942
The Rust Project Developers (see https://thanks.rust-lang.org)
5043
License: Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT)
5144

@@ -85,11 +78,44 @@ Files: src/librustdoc/html/static/css/normalize.css
8578
Copyright: Nicolas Gallagher and Jonathan Neal
8679
License: MIT
8780

88-
Files: src/librustdoc/html/static/css/themes/ayu.css
89-
Copyright: Ike Ku, Jessica Stokes, Leon Guan
81+
Files: src/librustdoc/html/static/css/rustdoc.css
82+
Copyright: 2016 Ike Ku, Jessica Stokes and Leon Guan
9083
The Rust Project Developers (see https://thanks.rust-lang.org)
9184
License: MIT OR Apache-2.0
9285

9386
Files: src/doc/rustc-dev-guide/mermaid.min.js
94-
Copyright: Knut Sveidqvist
87+
Copyright: 2014-2021 Knut Sveidqvist
9588
License: MIT
89+
90+
Files: library/backtrace/*
91+
Copyright: 2014 Alex Crichton
92+
The Rust Project Developers (see https://thanks.rust-lang.org)
93+
License: MIT OR Apache-2.0
94+
95+
Files: src/doc/embedded-book/*
96+
Copyright: Rust on Embedded Devices Working Group
97+
The Rust Project Developers (see https://thanks.rust-lang.org)
98+
License: MIT OR Apache-2.0 OR CC-BY-SA-4.0
99+
100+
Files: src/doc/rust-by-example/*
101+
Copyright: 2014 Jorge Aparicio
102+
The Rust Project Developers (see https://thanks.rust-lang.org)
103+
License: MIT OR Apache-2.0
104+
105+
# Reuse cannot process the LLVM source tree, and so the copyrights for the LLVM
106+
# submodule are written out here manually. The collect-licence-metadata tool
107+
# has a specific exception coded within it to ignore ./src/llvm-project so
108+
# any time LLVM is updated, please revisit this section. The copyrights are
109+
# taken from the relevant LLVM sub-folders: llvm, lld, lldb, compiler-rt and libunwind.
110+
#
111+
# The git hash for the CREDITS.TXT file is taken from the current git submodule
112+
# commit for ./src/llvm-project.
113+
#
114+
# The copyright years were compiled by looking at all the relevant
115+
# ./src/llvm-project/*/LICENSE.txt files
116+
117+
Files: src/llvm-project/*
118+
Copyright: 2003-2019 by the contributors listed in [CREDITS.TXT](https://github.com/rust-lang/llvm-project/blob/7738295178045041669876bf32b0543ec8319a5c/llvm/CREDITS.TXT)
119+
2010 Apple Inc
120+
2003-2019 University of Illinois at Urbana-Champaign.
121+
License: NCSA AND Apache-2.0 WITH LLVM-exception

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ standard library in the [Standard library developers Guide][std-dev-guide], comm
1515
## About the [rustc-dev-guide]
1616

1717
The [rustc-dev-guide] is meant to help document how rustc –the Rust compiler– works,
18-
as well as to help new contributors get involved in rustc development. It is recommend
18+
as well as to help new contributors get involved in rustc development. It is recommended
1919
to read and understand the [rustc-dev-guide] before making a contribution. This guide
2020
talks about the different bots in the Rust ecosystem, the Rust development tools,
2121
bootstrapping, the compiler architecture, source code representation, and more.

0 commit comments

Comments
 (0)