Skip to content

Commit 8fd713b

Browse files
authored
Merge pull request #19126 from lnicola/sync-from-rust
minor: Sync from downstream
2 parents d4f7c76 + 24d7a14 commit 8fd713b

File tree

4,381 files changed

+92147
-59985
lines changed

Some content is hidden

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

4,381 files changed

+92147
-59985
lines changed

.github/workflows/ci.yml

+1-20
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 }}
@@ -80,22 +77,6 @@ jobs:
8077
# Check the `calculate_matrix` job to see how is the matrix defined.
8178
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
8279
steps:
83-
- if: contains(matrix.os, 'windows')
84-
uses: msys2/[email protected]
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-
9980
- name: disable git crlf conversion
10081
run: git config --global core.autocrlf false
10182

@@ -109,7 +90,7 @@ jobs:
10990
# intensive jobs to run on free runners, which however also have
11091
# less disk space.
11192
- name: free up disk space
112-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
93+
run: src/ci/scripts/free-disk-space.sh
11394
if: matrix.free_disk
11495

11596
# Rust Log Analyzer can't currently detect the PR number of a GitHub

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ __pycache__/
8383
node_modules
8484
package-lock.json
8585
package.json
86+
/src/doc/rustc-dev-guide/mermaid.min.js
8687

8788
## Rustdoc GUI tests
8889
tests/rustdoc-gui/src/**.lock

CONTRIBUTING.md

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Documentation for contributing to the compiler or tooling is located in the [Gui
1212
Development][rustc-dev-guide], commonly known as the [rustc-dev-guide]. Documentation for the
1313
standard library in the [Standard library developers Guide][std-dev-guide], commonly known as the [std-dev-guide].
1414

15+
## Making changes to subtrees and submodules
16+
17+
For submodules, changes need to be made against the repository corresponding the
18+
submodule, and not the main `rust-lang/rust` repository.
19+
20+
For subtrees, prefer sending a PR against the subtree's repository if it does
21+
not need to be made against the main `rust-lang/rust` repostory (e.g. a
22+
rustc-dev-guide change that does not accompany a compiler change).
23+
1524
## About the [rustc-dev-guide]
1625

1726
The [rustc-dev-guide] is meant to help document how rustc –the Rust compiler– works,

0 commit comments

Comments
 (0)