Skip to content

Commit 1aed4df

Browse files
committed
Merge branch 'master' into api-fingerprinting
2 parents 6e1b2a5 + f43e549 commit 1aed4df

File tree

6,913 files changed

+153440
-98817
lines changed

Some content is hidden

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

6,913 files changed

+153440
-98817
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ end_of_line = lf
99
charset = utf-8
1010
trim_trailing_whitespace = true
1111
insert_final_newline = true
12+
13+
[!src/llvm-project]
1214
indent_style = space
1315
indent_size = 4
1416

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ ec2cc761bc7067712ecc7734502f703fe3b024c8
2929
99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad
3030
# reformat with rustfmt edition 2024
3131
c682aa162b0d41e21cc6748f4fecfe01efb69d1f
32+
# reformat with updated edition 2024
33+
1fcae03369abb4c2cc180cd5a49e1f4440a81300

.github/workflows/ci.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
name: ${{ matrix.full_name }}
6363
needs: [ calculate_matrix ]
6464
runs-on: "${{ matrix.os }}"
65-
defaults:
66-
run:
67-
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}
6865
timeout-minutes: 360
6966
env:
7067
CI_JOB_NAME: ${{ matrix.name }}
@@ -73,29 +70,14 @@ jobs:
7370
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
7471
DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7572
SCCACHE_BUCKET: rust-lang-ci-sccache2
73+
SCCACHE_REGION: us-west-1
7674
CACHE_DOMAIN: ci-caches.rust-lang.org
7775
continue-on-error: ${{ matrix.continue_on_error || false }}
7876
strategy:
7977
matrix:
8078
# Check the `calculate_matrix` job to see how is the matrix defined.
8179
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
8280
steps:
83-
- if: contains(matrix.os, 'windows')
84-
uses: msys2/setup-msys2@v2.22.0
85-
with:
86-
# i686 jobs use mingw32. x86_64 and cross-compile jobs use mingw64.
87-
msystem: ${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}
88-
# don't try to download updates for already installed packages
89-
update: false
90-
# don't try to use the msys that comes built-in to the github runner,
91-
# so we can control what is installed (i.e. not python)
92-
release: true
93-
# Inherit the full path from the Windows environment, with MSYS2's */bin/
94-
# dirs placed in front. This lets us run Windows-native Python etc.
95-
path-type: inherit
96-
install: >
97-
make
98-
9981
- name: disable git crlf conversion
10082
run: git config --global core.autocrlf false
10183

@@ -109,7 +91,7 @@ jobs:
10991
# intensive jobs to run on free runners, which however also have
11092
# less disk space.
11193
- name: free up disk space
112-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
94+
run: src/ci/scripts/free-disk-space.sh
11395
if: matrix.free_disk
11496

11597
# Rust Log Analyzer can't currently detect the PR number of a GitHub
@@ -192,6 +174,11 @@ jobs:
192174
- name: ensure the stable version number is correct
193175
run: src/ci/scripts/verify-stable-version-number.sh
194176

177+
# Show the environment just before we run the build
178+
# This makes it easier to diagnose problems with the above install scripts.
179+
- name: show the current environment
180+
run: src/ci/scripts/dump-environment.sh
181+
195182
- name: run the build
196183
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
197184
run: src/ci/scripts/run-build-from-ci.sh 2>&1

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ no_llvm_build
5454
/library/target
5555
/src/bootstrap/target
5656
/src/tools/x/target
57+
# Created by `x vendor`
58+
/vendor
5759
# Created by default with `src/ci/docker/run.sh`
5860
/obj/
5961
# Created by nix dev shell / .envrc

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
[submodule "src/llvm-project"]
3030
path = src/llvm-project
3131
url = https://github.com/rust-lang/llvm-project.git
32-
branch = rustc/19.1-2024-12-03
32+
branch = rustc/20.1-2025-02-13
3333
shallow = true
3434
[submodule "src/doc/embedded-book"]
3535
path = src/doc/embedded-book

0 commit comments

Comments
 (0)