Skip to content

Commit d33b497

Browse files
authored
Merge branch 'rust-lang:master' into master
2 parents 72da230 + 86d69c7 commit d33b497

File tree

7,339 files changed

+140353
-104342
lines changed

Some content is hidden

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

7,339 files changed

+140353
-104342
lines changed

Diff for: .git-blame-ignore-revs

+2
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ ec2cc761bc7067712ecc7734502f703fe3b024c8
2727
84ac80f1921afc243d71fd0caaa4f2838c294102
2828
# bless mir-opt tests to add `copy`
2929
99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad
30+
# reformat with rustfmt edition 2024
31+
c682aa162b0d41e21cc6748f4fecfe01efb69d1f

Diff for: .github/ISSUE_TEMPLATE/blank_issue.md

-4
This file was deleted.

Diff for: .github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ tracking issue or there are none, feel free to ignore this.
77
This PR will get automatically assigned to a reviewer. In case you would like
88
a specific user to review your work, you can assign it to them by using
99
10-
r? <reviewer name>
10+
r\? <reviewer name> (with the `\` removed)
1111
-->
1212
<!-- homu-ignore:end -->

Diff for: .github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,18 @@ jobs:
104104
with:
105105
fetch-depth: 2
106106

107+
# Free up disk space on Linux by removing preinstalled components that
108+
# we do not need. We do this to enable some of the less resource
109+
# intensive jobs to run on free runners, which however also have
110+
# less disk space.
111+
- name: free up disk space
112+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
113+
if: contains(matrix.os, 'ubuntu')
114+
with:
115+
# Removing packages with APT saves ~5 GiB, but takes several
116+
# minutes (and potentially removes important packages).
117+
large-packages: false
118+
107119
# Rust Log Analyzer can't currently detect the PR number of a GitHub
108120
# Actions build on its own, so a hint in the log message is needed to
109121
# point it in the right direction.
@@ -122,6 +134,9 @@ jobs:
122134
# which then uses log commands to actually set them.
123135
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}
124136

137+
- name: setup upstream remote
138+
run: src/ci/scripts/setup-upstream-remote.sh
139+
125140
- name: ensure the channel matches the target branch
126141
run: src/ci/scripts/verify-channel.sh
127142

@@ -191,6 +206,11 @@ jobs:
191206
- name: create github artifacts
192207
run: src/ci/scripts/create-doc-artifacts.sh
193208

209+
- name: print disk usage
210+
run: |
211+
echo "disk usage:"
212+
df -h
213+
194214
- name: upload artifacts to github
195215
uses: actions/upload-artifact@v4
196216
with:
@@ -212,6 +232,16 @@ jobs:
212232
# erroring about invalid credentials instead.
213233
if: github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1'
214234

235+
- name: upload job metrics to DataDog
236+
if: needs.calculate_matrix.outputs.run_type != 'pr'
237+
env:
238+
DATADOG_SITE: datadoghq.com
239+
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
240+
DD_GITHUB_JOB_NAME: ${{ matrix.name }}
241+
run: |
242+
npm install -g @datadog/datadog-ci@^2.x.x
243+
python3 src/ci/scripts/upload-build-metrics.py build/cpu-usage.csv
244+
215245
# This job isused to tell bors the final status of the build, as there is no practical way to detect
216246
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).
217247
outcome:

Diff for: .github/workflows/dependencies.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ jobs:
6161
rustup toolchain install --no-self-update --profile minimal $TOOLCHAIN
6262
rustup default $TOOLCHAIN
6363
64-
- name: cargo update
64+
- name: cargo update compiler & tools
6565
# Remove first line that always just says "Updating crates.io index"
66-
run: cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
66+
run: |
67+
echo -e "\ncompiler & tools dependencies:" >> cargo_update.log
68+
cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
6769
- name: cargo update library
6870
run: |
6971
echo -e "\nlibrary dependencies:" >> cargo_update.log

Diff for: .gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Session.vim
2525
.favorites.json
2626
.settings/
2727
.vs/
28+
.dir-locals.el
2829

2930
## Tool
3031
.valgrindrc
@@ -56,6 +57,8 @@ build/
5657
/src/tools/x/target
5758
# Created by default with `src/ci/docker/run.sh`
5859
/obj/
60+
# Created by nix dev shell / .envrc
61+
src/tools/nix-dev-shell/flake.lock
5962

6063
## ICE reports
6164
rustc-ice-*.txt
@@ -85,4 +88,13 @@ package.json
8588
## Rustdoc GUI tests
8689
tests/rustdoc-gui/src/**.lock
8790

91+
## direnv
92+
.envrc
93+
.direnv/
94+
95+
## nix
96+
flake.nix
97+
flake.lock
98+
default.nix
99+
88100
# Before adding new lines, see the comment at the top.

Diff for: .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/19.1-2024-07-30
36+
branch = rustc/19.1-2024-09-17
3737
shallow = true
3838
[submodule "src/doc/embedded-book"]
3939
path = src/doc/embedded-book

Diff for: .mailmap

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Ben Striegel <[email protected]>
7474
Benjamin Jackman <[email protected]>
7575
Benoît Cortier <[email protected]>
7676
Bheesham Persaud <[email protected]> Bheesham Persaud <[email protected]>
77+
7778
7879
blake2-ppc <[email protected]> <blake2-ppc>
7980
blyxyas <[email protected]> Alejandra González <[email protected]>
@@ -255,6 +256,7 @@ Jakub Adam Wieczorek <[email protected]>
255256
Jakub Adam Wieczorek <[email protected]> <[email protected]>
256257
Jakub Adam Wieczorek <[email protected]> <[email protected]>
257258
Jakub Adam Wieczorek <[email protected]> <[email protected]>
259+
258260
James [Undefined] <[email protected]>
259261
260262
@@ -279,6 +281,7 @@ Jerry Hardee <[email protected]>
279281
Jesús Rubio <[email protected]>
280282
Jethro Beekman <[email protected]>
281283
Jian Zeng <[email protected]>
284+
282285
283286
284287
Jihyun Yu <[email protected]> Jihyun Yu <[email protected]>
@@ -311,6 +314,7 @@ Josh Driver <[email protected]>
311314
Josh Holmer <[email protected]>
312315
313316
317+
314318
Julian Knodt <[email protected]>
315319
316320
Junyoung Cho <[email protected]>

0 commit comments

Comments
 (0)