-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into handle-potential-query-instability-lint-fo…
…r-rustc-middle
- Loading branch information
Showing
14,832 changed files
with
804,636 additions
and
239,580 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
name: Bootstrap (Rust Build System) Report | ||
about: Issues encountered on bootstrap build system | ||
labels: C-bug, T-bootstrap | ||
--- | ||
|
||
<!-- | ||
Thank you for submitting a bootstrap report! Please provide detailed information to help us reproduce and diagnose the issue. | ||
--> | ||
|
||
### Summary | ||
|
||
<!-- | ||
Provide a brief description of the problem you are experiencing. | ||
--> | ||
|
||
### Command used | ||
|
||
```sh | ||
<command> | ||
``` | ||
|
||
### Expected behaviour | ||
|
||
<!-- | ||
Describe what you expected to happen. | ||
--> | ||
|
||
### Actual behaviour | ||
|
||
<!-- | ||
Describe what actually happened. | ||
--> | ||
|
||
### Bootstrap configuration (config.toml) | ||
```toml | ||
<config> | ||
``` | ||
|
||
### Operating system | ||
|
||
<!-- | ||
e.g., Ubuntu 22.04, macOS 12, Windows 10 | ||
--> | ||
|
||
### HEAD | ||
|
||
<!-- | ||
Output of `git rev-parse HEAD` command, or content of the `git-commit-hash` file if using a tarball source. | ||
--> | ||
|
||
### Additional context | ||
<!-- | ||
Include any other relevant information (e.g., if you have custom patches or modifications on the project). | ||
--> | ||
|
||
|
||
<!-- | ||
Include the complete build log in the section below. | ||
Enable backtrace and verbose mode if possible for more detailed information e.g., with `RUST_BACKTRACE=1 ./x build -v`. | ||
--> | ||
<details><summary>Build Log</summary> | ||
<p> | ||
|
||
```txt | ||
<log> | ||
``` | ||
|
||
</p> | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
// Let Renovatebot keep an opened issue that tracks our dependencies | ||
"dependencyDashboard": true, | ||
// Disable "normal" package updates | ||
"enabledManagers": [], | ||
// Update lockfiles once per week | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"schedule": [ | ||
"before 5am on Tuesday" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Mirror DockerHub images used by the Rust project to ghcr.io. | ||
# Images are available at https://github.com/orgs/rust-lang/packages. | ||
# | ||
# In some CI jobs, we pull images from ghcr.io instead of Docker Hub because | ||
# Docker Hub has a rate limit, while ghcr.io doesn't. | ||
# Those images are pushed to ghcr.io by this job. | ||
# | ||
# Note that authenticating to DockerHub or other registries isn't possible | ||
# for PR jobs, because forks can't access secrets. | ||
# That's why we use ghcr.io: it has no rate limit and it doesn't require authentication. | ||
|
||
name: GHCR image mirroring | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Run daily at midnight UTC | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
mirror: | ||
name: DockerHub mirror | ||
runs-on: ubuntu-24.04 | ||
if: github.repository == 'rust-lang/rust' | ||
permissions: | ||
# Needed to write to the ghcr.io registry | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Log in to registry | ||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin | ||
|
||
# Download crane in the current directory. | ||
# We use crane because it copies the docker image for all the architectures available in | ||
# DockerHub for the image. | ||
# Learn more about crane at | ||
# https://github.com/google/go-containerregistry/blob/main/cmd/crane/README.md | ||
- name: Download crane | ||
run: | | ||
curl -sL "https://github.com/google/go-containerregistry/releases/download/${VERSION}/go-containerregistry_${OS}_${ARCH}.tar.gz" | tar -xzf - | ||
env: | ||
VERSION: v0.20.2 | ||
OS: Linux | ||
ARCH: x86_64 | ||
|
||
- name: Mirror DockerHub | ||
run: | | ||
# List of DockerHub images to mirror to ghcr.io | ||
images=( | ||
# Mirrored because used by the mingw-check-tidy, which doesn't cache Docker images | ||
"ubuntu:22.04" | ||
# Mirrored because used by all linux CI jobs, including mingw-check-tidy | ||
"moby/buildkit:buildx-stable-1" | ||
) | ||
# Mirror each image from DockerHub to ghcr.io | ||
for img in "${images[@]}"; do | ||
echo "Mirroring ${img}..." | ||
# Remove namespace from the image if any. | ||
# E.g. "moby/buildkit:buildx-stable-1" becomes "buildkit:buildx-stable-1" | ||
dest_image=$(echo "${img}" | cut -d'/' -f2-) | ||
./crane copy \ | ||
"docker.io/${img}" \ | ||
"ghcr.io/${{ github.repository_owner }}/${dest_image}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.