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

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
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

.github/ISSUE_TEMPLATE/blank_issue.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/pull_request_template.md

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

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
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:

.github/workflows/dependencies.yml

Lines changed: 4 additions & 2 deletions
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

.gitignore

Lines changed: 12 additions & 0 deletions
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.

.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/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

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Ben Striegel <ben.striegel@gmail.com>
7474
Benjamin Jackman <ben@jackman.biz>
7575
Benoît Cortier <benoit.cortier@fried-world.eu>
7676
Bheesham Persaud <bheesham123@hotmail.com> Bheesham Persaud <bheesham.persaud@live.ca>
77+
bjorn3 <17426603+bjorn3@users.noreply.github.com> <bjorn3@users.noreply.github.com>
7778
Björn Steinbrink <bsteinbr@gmail.com> <B.Steinbrink@gmx.de>
7879
blake2-ppc <ulrik.sverdrup@gmail.com> <blake2-ppc>
7980
blyxyas <blyxyas@gmail.com> Alejandra González <blyxyas@gmail.com>
@@ -255,6 +256,7 @@ Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com>
255256
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub.bukaj@yahoo.com>
256257
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub@jakub.cc>
257258
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakubw@jakubw.net>
259+
Jakub Beránek <berykubik@gmail.com> <jakub.beranek@vsb.cz>
258260
James [Undefined] <tpzker@thepuzzlemaker.info>
259261
James Deng <cnjamesdeng@gmail.com> <cnJamesDeng@gmail.com>
260262
James Hinshelwood <jameshinshelwood1@gmail.com> <james.hinshelwood@bigpayme.com>
@@ -279,6 +281,7 @@ Jerry Hardee <hardeejj9@gmail.com>
279281
Jesús Rubio <jesusprubio@gmail.com>
280282
Jethro Beekman <github@jbeekman.nl>
281283
Jian Zeng <knight42@mail.ustc.edu.cn>
284+
Jieyou Xu <jieyouxu@outlook.com> <39484203+jieyouxu@users.noreply.github.com>
282285
Jihyun Yu <j.yu@navercorp.com> <yjh0502@gmail.com>
283286
Jihyun Yu <j.yu@navercorp.com> jihyun <jihyun@nablecomm.com>
284287
Jihyun Yu <j.yu@navercorp.com> Jihyun Yu <jihyun@nclab.kaist.ac.kr>
@@ -311,6 +314,7 @@ Josh Driver <keeperofdakeys@gmail.com>
311314
Josh Holmer <jholmer.in@gmail.com>
312315
Josh Stone <cuviper@gmail.com> <jistone@redhat.com>
313316
Josh Stone <cuviper@gmail.com> <jistone@fedoraproject.org>
317+
Julia Ryan <juliaryan3.14@gmail.com> <josephryan3.14@gmail.com>
314318
Julian Knodt <julianknodt@gmail.com>
315319
jumbatm <jumbatm@gmail.com> <30644300+jumbatm@users.noreply.github.com>
316320
Junyoung Cho <june0.cho@samsung.com>

0 commit comments

Comments
 (0)