Skip to content

Commit b826104

Browse files
authored
Merge pull request rust-lang#1950 from Kobzol/pull-nov-2025
rustc-pull
2 parents 92f7cb4 + 3c9656c commit b826104

File tree

10,853 files changed

+315273
-166604
lines changed

Some content is hidden

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

10,853 files changed

+315273
-166604
lines changed

.editorconfig

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,25 @@ root = true
77
[*]
88
end_of_line = lf
99
charset = utf-8
10-
trim_trailing_whitespace = true
1110
insert_final_newline = true
12-
13-
[!src/llvm-project]
11+
trim_trailing_whitespace = true
1412
indent_style = space
1513
indent_size = 4
1614

15+
# some tests need trailing whitespace in output snapshots
16+
[tests/**]
17+
trim_trailing_whitespace = false
18+
# for actual source code files of test, we still don't want trailing whitespace
19+
[tests/**.{rs,js}]
20+
trim_trailing_whitespace = true
21+
# these specific source files need to have trailing whitespace.
22+
[tests/ui/{frontmatter/frontmatter-whitespace-3.rs,parser/shebang/shebang-space.rs}]
23+
trim_trailing_whitespace = false
24+
25+
[src/llvm-project]
26+
indent_style = unset
27+
indent_size = unset
28+
1729
[*.rs]
1830
max_line_length = 100
1931

.github/ISSUE_TEMPLATE/documentation.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Documentation problem
2-
description: Create a report for a documentation problem.
2+
description: Report an issue with documentation content.
33
labels: ["A-docs"]
44
body:
55
- type: markdown
@@ -19,20 +19,20 @@ body:
1919
- [The Rustonomicon](https://github.com/rust-lang/nomicon/issues)
2020
- [The Embedded Book](https://github.com/rust-embedded/book/issues)
2121
22-
All other documentation issues should be filed here.
22+
Or, if you find an issue related to rustdoc (e.g. doctest, rustdoc UI), please use the rustdoc issue template instead.
2323
24-
Or, if you find an issue related to rustdoc (e.g. doctest, rustdoc UI), please use the bug report or blank issue template instead.
24+
All other documentation issues should be filed here.
2525
2626
- type: textarea
2727
id: location
2828
attributes:
29-
label: Location
29+
label: Location (URL)
3030
validations:
31-
required: true
31+
required: true
3232

3333
- type: textarea
3434
id: summary
3535
attributes:
3636
label: Summary
3737
validations:
38-
required: true
38+
required: true

.github/ISSUE_TEMPLATE/library_tracking_issue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ If the feature is changed later, please add those PRs here as well.
5151

5252
(Remember to update the `S-tracking-*` label when checking boxes.)
5353

54+
- [ ] ACP: rust-lang/libs-team#...
5455
- [ ] Implementation: #...
5556
- [ ] Final comment period (FCP)[^1]
5657
- [ ] Stabilization PR

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run_type: ${{ steps.jobs.outputs.run_type }}
5353
steps:
5454
- name: Checkout the source code
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v5
5656
- name: Test citool
5757
# Only test citool on the auto branch, to reduce latency of the calculate matrix job
5858
# on PR/try builds.
@@ -113,16 +113,16 @@ jobs:
113113
run: git config --global core.autocrlf false
114114

115115
- name: checkout the source code
116-
uses: actions/checkout@v4
116+
uses: actions/checkout@v5
117117
with:
118118
fetch-depth: 2
119119

120-
# Free up disk space on Linux and Windows by removing preinstalled components that
120+
# Free up disk space on Linux by removing preinstalled components that
121121
# we do not need. We do this to enable some of the less resource
122122
# intensive jobs to run on free runners, which however also have
123123
# less disk space.
124124
- name: free up disk space
125-
run: src/ci/scripts/free-disk-space.sh
125+
run: src/ci/scripts/free-disk-space-linux.sh
126126
if: matrix.free_disk
127127

128128
# If we don't need to free up disk space then just report how much space we have
@@ -159,9 +159,6 @@ jobs:
159159
- name: show the current environment
160160
run: src/ci/scripts/dump-environment.sh
161161

162-
- name: install rust
163-
run: src/ci/scripts/install-rust.sh
164-
165162
- name: install awscli
166163
run: src/ci/scripts/install-awscli.sh
167164

@@ -249,6 +246,8 @@ jobs:
249246
run: src/ci/scripts/create-doc-artifacts.sh
250247

251248
- name: print disk usage
249+
# We also want to know the disk usage when the job fails.
250+
if: always()
252251
run: |
253252
echo "disk usage:"
254253
df -h
@@ -316,7 +315,7 @@ jobs:
316315
if: ${{ !cancelled() && contains(fromJSON('["auto", "try"]'), needs.calculate_matrix.outputs.run_type) }}
317316
steps:
318317
- name: checkout the source code
319-
uses: actions/checkout@v4
318+
uses: actions/checkout@v5
320319
with:
321320
fetch-depth: 2
322321
# Calculate the exit status of the whole CI workflow.

.github/workflows/dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-24.04
5252
steps:
5353
- name: checkout the source code
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v5
5555
with:
5656
submodules: recursive
5757
- name: install the bootstrap toolchain
@@ -101,7 +101,7 @@ jobs:
101101
pull-requests: write
102102
steps:
103103
- name: checkout the source code
104-
uses: actions/checkout@v4
104+
uses: actions/checkout@v5
105105

106106
- name: download Cargo.lock from update job
107107
uses: actions/download-artifact@v4

.github/workflows/ghcr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Needed to write to the ghcr.io registry
3030
packages: write
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333
with:
3434
persist-credentials: false
3535

.github/workflows/post-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
permissions:
1616
pull-requests: write
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
with:
2020
# Make sure that we have enough commits to find the parent merge commit.
2121
# Since all merges should be through merge commits, fetching two commits

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
[submodule "src/llvm-project"]
2626
path = src/llvm-project
2727
url = https://github.com/rust-lang/llvm-project.git
28-
branch = rustc/20.1-2025-07-13
28+
branch = rustc/21.1-2025-08-01
2929
shallow = true
3030
[submodule "src/doc/embedded-book"]
3131
path = src/doc/embedded-book

.mailmap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ Guillaume Gomez <[email protected]>
255255
Guillaume Gomez <[email protected]> ggomez <[email protected]>
256256
Guillaume Gomez <[email protected]> Guillaume Gomez <[email protected]>
257257
Guillaume Gomez <[email protected]> Guillaume Gomez <[email protected]>
258+
258259
hamidreza kalbasi <[email protected]>
259260
260261
@@ -426,6 +427,7 @@ Marcell Pardavi <[email protected]>
426427
Marco Ieni <[email protected]>
427428
Marcus Klaas de Vries <[email protected]>
428429
Margaret Meyerhofer <[email protected]> <mmeyerho@andrew>
430+
429431
Mark Mansi <[email protected]>
430432
431433
Mark Rousskov <[email protected]>
@@ -597,6 +599,7 @@ Sam Radhakrishnan <[email protected]>
597599
Samuel Tardieu <[email protected]>
598600
Santiago Pastorino <[email protected]>
599601
Santiago Pastorino <[email protected]> <[email protected]>
602+
Sasha Pourcelot <[email protected]> Sasha <[email protected]>
600603
Scott McMurray <[email protected]>
601604
602605
Scott Olson <[email protected]> Scott Olson <[email protected]>
@@ -607,6 +610,7 @@ Shohei Wada <[email protected]>
607610
Shotaro Yamada <[email protected]>
608611
609612
Shyam Sundar B <[email protected]>
613+
610614
Simon Barber-Dueck <[email protected]> Simon BD <simon@server>
611615
612616
Simonas Kazlauskas <[email protected]> Simonas Kazlauskas <[email protected]>
@@ -676,6 +680,7 @@ Valerii Lashmanov <[email protected]>
676680
Vitali Haravy <[email protected]> Vitali Haravy <[email protected]>
677681
Vitaly Shukela <[email protected]>
678682
Waffle Lapkin <[email protected]>
683+
Waffle Lapkin <[email protected]> <Waffle Lapkin>
679684
680685
Weihang Lo <[email protected]>
681686

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ bootstrapping, the compiler architecture, source code representation, and more.
3131

3232
## [Getting help](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions)
3333

34-
There are many ways you can get help when you're stuck. Rust has many platforms for this:
35-
[internals], [rust-zulip], and [rust-discord]. It is recommended to ask for help on
34+
There are many ways you can get help when you're stuck. Rust has two platforms for this:
35+
[internals] and [rust-zulip]. It is recommended to ask for help on
3636
the [rust-zulip], but any of these platforms are great ways to seek help and even
3737
find a mentor! You can learn more about asking questions and getting help in the
3838
[Asking Questions](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions) chapter of the [rustc-dev-guide].
@@ -47,5 +47,4 @@ refer to [this section][contributing-bug-reports] and [open an issue][issue temp
4747
[contributing-bug-reports]: https://rustc-dev-guide.rust-lang.org/contributing.html#bug-reports
4848
[issue template]: https://github.com/rust-lang/rust/issues/new/choose
4949
[internals]: https://internals.rust-lang.org
50-
[rust-discord]: http://discord.gg/rust-lang
5150
[rust-zulip]: https://rust-lang.zulipchat.com

0 commit comments

Comments
 (0)