Skip to content

Commit fcdee73

Browse files
committed
Merge remote-tracking branch 'origin/master' into pr-116129
2 parents e866d69 + b6a8c76 commit fcdee73

File tree

15,799 files changed

+311828
-186580
lines changed

Some content is hidden

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

15,799 files changed

+311828
-186580
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ b39a1d6f1a30ba29f25d7141038b9a5bf0126e36
1818
f97fddab91fbf290ea5b691fe355d6f915220b6e
1919
# format let-else
2020
cc907f80b95c6ec530c5ee1b05b044a468f07eca
21+
# format let-chains
22+
b2d2184edea578109a48ec3d8decbee5948e8f35

.github/workflows/ci.yml

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ name: CI
2121
- auto
2222
- try
2323
- try-perf
24+
- automation/bors/try
2425
- master
2526
pull_request:
2627
branches:
@@ -55,9 +56,10 @@ jobs:
5556
- name: mingw-check-tidy
5657
os: ubuntu-20.04-4core-16gb
5758
env: {}
58-
- name: x86_64-gnu-llvm-15
59+
- name: x86_64-gnu-llvm-16
60+
env:
61+
ENABLE_GCC_CODEGEN: "1"
5962
os: ubuntu-20.04-16core-64gb
60-
env: {}
6163
- name: x86_64-gnu-tools
6264
os: ubuntu-20.04-16core-64gb
6365
env: {}
@@ -92,6 +94,9 @@ jobs:
9294
- name: show the current environment
9395
run: src/ci/scripts/dump-environment.sh
9496
if: success() && !env.SKIP_JOB
97+
- name: install awscli
98+
run: src/ci/scripts/install-awscli.sh
99+
if: success() && !env.SKIP_JOB
95100
- name: install sccache
96101
run: src/ci/scripts/install-sccache.sh
97102
if: success() && !env.SKIP_JOB
@@ -101,6 +106,9 @@ jobs:
101106
- name: install clang
102107
run: src/ci/scripts/install-clang.sh
103108
if: success() && !env.SKIP_JOB
109+
- name: install tidy
110+
run: src/ci/scripts/install-tidy.sh
111+
if: success() && !env.SKIP_JOB
104112
- name: install WIX
105113
run: src/ci/scripts/install-wix.sh
106114
if: success() && !env.SKIP_JOB
@@ -189,8 +197,9 @@ jobs:
189197
os: ubuntu-20.04-8core-32gb
190198
env: {}
191199
- name: dist-aarch64-linux
200+
env:
201+
CODEGEN_BACKENDS: "llvm,cranelift"
192202
os: ubuntu-20.04-8core-32gb
193-
env: {}
194203
- name: dist-android
195204
os: ubuntu-20.04-8core-32gb
196205
env: {}
@@ -240,15 +249,18 @@ jobs:
240249
os: ubuntu-20.04-8core-32gb
241250
env: {}
242251
- name: dist-x86_64-linux
252+
env:
253+
CODEGEN_BACKENDS: "llvm,cranelift"
243254
os: ubuntu-20.04-16core-64gb
244-
env: {}
245255
- name: dist-x86_64-linux-alt
246256
env:
247257
IMAGE: dist-x86_64-linux
258+
CODEGEN_BACKENDS: "llvm,cranelift"
248259
os: ubuntu-20.04-16core-64gb
249260
- name: dist-x86_64-musl
261+
env:
262+
CODEGEN_BACKENDS: "llvm,cranelift"
250263
os: ubuntu-20.04-8core-32gb
251-
env: {}
252264
- name: dist-x86_64-netbsd
253265
os: ubuntu-20.04-8core-32gb
254266
env: {}
@@ -264,9 +276,6 @@ jobs:
264276
- name: test-various
265277
os: ubuntu-20.04-8core-32gb
266278
env: {}
267-
- name: wasm32
268-
os: ubuntu-20.04-8core-32gb
269-
env: {}
270279
- name: x86_64-gnu
271280
os: ubuntu-20.04-4core-16gb
272281
env: {}
@@ -279,17 +288,21 @@ jobs:
279288
- name: x86_64-gnu-aux
280289
os: ubuntu-20.04-4core-16gb
281290
env: {}
291+
- name: x86_64-gnu-integration
292+
env:
293+
CI_ONLY_WHEN_CHANNEL: nightly
294+
os: ubuntu-20.04-16core-64gb
282295
- name: x86_64-gnu-debug
283296
os: ubuntu-20.04-8core-32gb
284297
env: {}
285298
- name: x86_64-gnu-distcheck
286299
os: ubuntu-20.04-8core-32gb
287300
env: {}
288-
- name: x86_64-gnu-llvm-16
301+
- name: x86_64-gnu-llvm-17
289302
env:
290303
RUST_BACKTRACE: 1
291304
os: ubuntu-20.04-8core-32gb
292-
- name: x86_64-gnu-llvm-15
305+
- name: x86_64-gnu-llvm-16
293306
env:
294307
RUST_BACKTRACE: 1
295308
os: ubuntu-20.04-8core-32gb
@@ -311,6 +324,7 @@ jobs:
311324
NO_DEBUG_ASSERTIONS: 1
312325
NO_OVERFLOW_CHECKS: 1
313326
DIST_REQUIRE_ALL_TOOLS: 1
327+
CODEGEN_BACKENDS: "llvm,cranelift"
314328
os: macos-13
315329
- name: dist-apple-various
316330
env:
@@ -373,6 +387,7 @@ jobs:
373387
- name: x86_64-msvc-ext
374388
env:
375389
SCRIPT: python x.py --stage 2 test src/tools/cargotest src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
390+
HOST_TARGET: x86_64-pc-windows-msvc
376391
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json"
377392
DEPLOY_TOOLSTATES_JSON: toolstates-windows.json
378393
os: windows-2019-8core-32gb
@@ -460,6 +475,9 @@ jobs:
460475
- name: show the current environment
461476
run: src/ci/scripts/dump-environment.sh
462477
if: success() && !env.SKIP_JOB
478+
- name: install awscli
479+
run: src/ci/scripts/install-awscli.sh
480+
if: success() && !env.SKIP_JOB
463481
- name: install sccache
464482
run: src/ci/scripts/install-sccache.sh
465483
if: success() && !env.SKIP_JOB
@@ -469,6 +487,9 @@ jobs:
469487
- name: install clang
470488
run: src/ci/scripts/install-clang.sh
471489
if: success() && !env.SKIP_JOB
490+
- name: install tidy
491+
run: src/ci/scripts/install-tidy.sh
492+
if: success() && !env.SKIP_JOB
472493
- name: install WIX
473494
run: src/ci/scripts/install-wix.sh
474495
if: success() && !env.SKIP_JOB
@@ -542,13 +563,14 @@ jobs:
542563
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZN24CBO55
543564
AWS_REGION: us-west-1
544565
CACHE_DOMAIN: ci-caches.rust-lang.org
545-
if: "github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'"
566+
if: "github.event_name == 'push' && (((github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust') || ((github.ref == 'refs/heads/automation/bors/try') && github.repository == 'rust-lang/rust'))"
546567
strategy:
547568
matrix:
548569
include:
549570
- name: dist-x86_64-linux
571+
env:
572+
CODEGEN_BACKENDS: "llvm,cranelift"
550573
os: ubuntu-20.04-16core-64gb
551-
env: {}
552574
timeout-minutes: 600
553575
runs-on: "${{ matrix.os }}"
554576
steps:
@@ -580,6 +602,9 @@ jobs:
580602
- name: show the current environment
581603
run: src/ci/scripts/dump-environment.sh
582604
if: success() && !env.SKIP_JOB
605+
- name: install awscli
606+
run: src/ci/scripts/install-awscli.sh
607+
if: success() && !env.SKIP_JOB
583608
- name: install sccache
584609
run: src/ci/scripts/install-sccache.sh
585610
if: success() && !env.SKIP_JOB
@@ -589,6 +614,9 @@ jobs:
589614
- name: install clang
590615
run: src/ci/scripts/install-clang.sh
591616
if: success() && !env.SKIP_JOB
617+
- name: install tidy
618+
run: src/ci/scripts/install-tidy.sh
619+
if: success() && !env.SKIP_JOB
592620
- name: install WIX
593621
run: src/ci/scripts/install-wix.sh
594622
if: success() && !env.SKIP_JOB

.gitmodules

Lines changed: 1 addition & 1 deletion
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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Alexis Beingessner <a.beingessner@gmail.com>
3131
Alfie John <alfie@alfie.wtf> Alfie John <alfiej@fastmail.fm>
3232
Alona Enraght-Moony <code@alona.page> <nixon.emoony@gmail.com>
3333
Alona Enraght-Moony <code@alona.page> <nixon@caminus.local>
34+
Amanda Stjerna <mail@amandastjerna.se> <albin.stjerna@gmail.com>
35+
Amanda Stjerna <mail@amandastjerna.se> <amanda.stjerna@it.uu.se>
3436
Amos Onn <amosonn@gmail.com>
3537
Ana-Maria Mihalache <mihalacheana.maria@yahoo.com>
3638
Anatoly Ikorsky <aikorsky@gmail.com>
@@ -74,6 +76,7 @@ Benoît Cortier <benoit.cortier@fried-world.eu>
7476
Bheesham Persaud <bheesham123@hotmail.com> Bheesham Persaud <bheesham.persaud@live.ca>
7577
Björn Steinbrink <bsteinbr@gmail.com> <B.Steinbrink@gmx.de>
7678
blake2-ppc <ulrik.sverdrup@gmail.com> <blake2-ppc>
79+
blyxyas <blyxyas@gmail.com> Alejandra González <blyxyas@gmail.com>
7780
boolean_coercion <booleancoercion@gmail.com>
7881
Boris Egorov <jightuse@gmail.com> <egorov@linux.com>
7982
bors <bors@rust-lang.org> bors[bot] <26634292+bors[bot]@users.noreply.github.com>
@@ -346,7 +349,9 @@ Lindsey Kuper <lindsey@composition.al> <lindsey@rockstargirl.org>
346349
Lindsey Kuper <lindsey@composition.al> <lkuper@mozilla.com>
347350
Liu Dingming <liudingming@bytedance.com>
348351
Loo Maclin <loo.maclin@protonmail.com>
349-
Loïc BRANSTETT <lolo.branstett@numericable.fr>
352+
Urgau <urgau@numericable.fr>
353+
Urgau <urgau@numericable.fr> <lolo.branstett@numericable.fr>
354+
Urgau <urgau@numericable.fr> <3616612+Urgau@users.noreply.github.com>
350355
Lucy <luxx4x@protonmail.com>
351356
Lukas H. <lukaramu@users.noreply.github.com>
352357
Lukas Lueg <lukas.lueg@gmail.com>
@@ -429,6 +434,8 @@ Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> nils <48135649+Nilstrieb
429434
Nif Ward <nif.ward@gmail.com>
430435
Nika Layzell <nika@thelayzells.com> <michael@thelayzells.com>
431436
NODA Kai <nodakai@gmail.com>
437+
Oğuz Ağcayazı <oguz.agcayazi@gmail.com> <oguz.agcayazi@gmail.com>
438+
Oğuz Ağcayazı <oguz.agcayazi@gmail.com> <ouz.agz@gmail.com>
432439
oliver <16816606+o752d@users.noreply.github.com>
433440
Oliver Middleton <olliemail27@gmail.com> <ollie27@users.noreply.github.com>
434441
Oliver Scherer <oli-obk@users.noreply.github.com> <git-spam-no-reply9815368754983@oli-obk.de>
@@ -443,6 +450,8 @@ Oliver Scherer <oli-obk@users.noreply.github.com> <public.oliver.schneider@kit.e
443450
Oliver Scherer <oli-obk@users.noreply.github.com> <oliver.schneider@kit.edu>
444451
Oliver Scherer <oli-obk@users.noreply.github.com> <obk8176014uqher834@olio-obk.de>
445452
Oliver Scherer <oli-obk@users.noreply.github.com>
453+
Onur Özkan <onurozkan.dev@outlook.com> <work@onurozkan.dev>
454+
Onur Özkan <onurozkan.dev@outlook.com>
446455
Ömer Sinan Ağacan <omeragacan@gmail.com>
447456
Ophir LOJKINE <pere.jobs@gmail.com>
448457
Ožbolt Menegatti <ozbolt.menegatti@gmail.com> gareins <ozbolt.menegatti@gmail.com>
@@ -566,7 +575,8 @@ Val Markovic <val@markovic.io>
566575
Valerii Lashmanov <vflashm@gmail.com>
567576
Vitali Haravy <HumaneProgrammer@gmail.com> Vitali Haravy <humaneprogrammer@gmail.com>
568577
Vitaly Shukela <vi0oss@gmail.com>
569-
Waffle Maybe <waffle.lapkin@gmail.com>
578+
Waffle Lapkin <waffle.lapkin@gmail.com>
579+
Waffle Lapkin <waffle.lapkin@tasking.com>
570580
Wesley Wiser <wwiser@gmail.com> <wesleywiser@microsoft.com>
571581
whitequark <whitequark@whitequark.org>
572582
William Ting <io@williamting.com> <william.h.ting@gmail.com>

.reuse/dep5

Lines changed: 38 additions & 11 deletions
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
@@ -25,6 +23,7 @@ Files: compiler/*
2523
README.md
2624
RELEASES.md
2725
rustfmt.toml
26+
rust-bors.toml
2827
triagebot.toml
2928
x
3029
x.ps1
@@ -38,13 +37,8 @@ Files: compiler/*
3837
Copyright: The Rust Project Developers (see https://thanks.rust-lang.org)
3938
License: MIT or Apache-2.0
4039

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

@@ -84,11 +78,44 @@ Files: src/librustdoc/html/static/css/normalize.css
8478
Copyright: Nicolas Gallagher and Jonathan Neal
8579
License: MIT
8680

87-
Files: src/librustdoc/html/static/css/themes/ayu.css
88-
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
8983
The Rust Project Developers (see https://thanks.rust-lang.org)
9084
License: MIT OR Apache-2.0
9185

9286
Files: src/doc/rustc-dev-guide/mermaid.min.js
93-
Copyright: Knut Sveidqvist
87+
Copyright: 2014-2021 Knut Sveidqvist
9488
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

Lines changed: 1 addition & 1 deletion
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)