-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rust-lang:master' into test_main_memory_leak
- Loading branch information
Showing
23,482 changed files
with
425,983 additions
and
247,722 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
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ name: CI | |
- "**" | ||
permissions: | ||
contents: read | ||
packages: write | ||
defaults: | ||
run: | ||
shell: bash | ||
|
@@ -42,6 +43,7 @@ jobs: | |
CI_JOB_NAME: "${{ matrix.name }}" | ||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | ||
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}" | ||
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
SCCACHE_BUCKET: rust-lang-ci-sccache2 | ||
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate" | ||
CACHE_DOMAIN: ci-caches.rust-lang.org | ||
|
@@ -56,16 +58,27 @@ jobs: | |
- name: mingw-check-tidy | ||
os: ubuntu-20.04-4core-16gb | ||
env: {} | ||
- name: x86_64-gnu-llvm-16 | ||
- name: x86_64-gnu-llvm-17 | ||
env: | ||
ENABLE_GCC_CODEGEN: "1" | ||
os: ubuntu-20.04-16core-64gb | ||
- name: x86_64-gnu-tools | ||
os: ubuntu-20.04-16core-64gb | ||
env: {} | ||
defaults: | ||
run: | ||
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" | ||
timeout-minutes: 600 | ||
runs-on: "${{ matrix.os }}" | ||
steps: | ||
- if: "contains(matrix.os, 'windows')" | ||
uses: msys2/[email protected] | ||
with: | ||
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" | ||
update: false | ||
release: true | ||
path-type: inherit | ||
install: "make dos2unix diffutils\n" | ||
- name: disable git crlf conversion | ||
run: git config --global core.autocrlf false | ||
- name: checkout the source code | ||
|
@@ -143,7 +156,7 @@ jobs: | |
run: src/ci/scripts/verify-stable-version-number.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: run the build | ||
run: src/ci/scripts/run-build-from-ci.sh | ||
run: src/ci/scripts/run-build-from-ci.sh 2>&1 | ||
env: | ||
AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}" | ||
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}" | ||
|
@@ -153,7 +166,7 @@ jobs: | |
run: src/ci/scripts/create-doc-artifacts.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: upload artifacts to github | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ env.DOC_ARTIFACT_NAME }}" | ||
path: obj/artifacts/doc | ||
|
@@ -172,6 +185,7 @@ jobs: | |
CI_JOB_NAME: "${{ matrix.name }}" | ||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | ||
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}" | ||
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
SCCACHE_BUCKET: rust-lang-ci-sccache2 | ||
DEPLOY_BUCKET: rust-lang-ci2 | ||
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate" | ||
|
@@ -221,6 +235,9 @@ jobs: | |
- name: dist-loongarch64-linux | ||
os: ubuntu-20.04-8core-32gb | ||
env: {} | ||
- name: dist-ohos | ||
os: ubuntu-20.04-8core-32gb | ||
env: {} | ||
- name: dist-powerpc-linux | ||
os: ubuntu-20.04-8core-32gb | ||
env: {} | ||
|
@@ -289,19 +306,20 @@ jobs: | |
os: ubuntu-20.04-4core-16gb | ||
env: {} | ||
- name: x86_64-gnu-integration | ||
os: ubuntu-20.04-16core-64gb | ||
env: {} | ||
env: | ||
CI_ONLY_WHEN_CHANNEL: nightly | ||
os: ubuntu-20.04-8core-32gb | ||
- name: x86_64-gnu-debug | ||
os: ubuntu-20.04-8core-32gb | ||
env: {} | ||
- name: x86_64-gnu-distcheck | ||
os: ubuntu-20.04-8core-32gb | ||
env: {} | ||
- name: x86_64-gnu-llvm-17 | ||
- name: x86_64-gnu-llvm-18 | ||
env: | ||
RUST_BACKTRACE: 1 | ||
os: ubuntu-20.04-8core-32gb | ||
- name: x86_64-gnu-llvm-16 | ||
- name: x86_64-gnu-llvm-17 | ||
env: | ||
RUST_BACKTRACE: 1 | ||
os: ubuntu-20.04-8core-32gb | ||
|
@@ -315,10 +333,10 @@ jobs: | |
- name: dist-x86_64-apple | ||
env: | ||
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin" | ||
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin" | ||
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 10.12 | ||
SELECT_XCODE: /Applications/Xcode_13.4.1.app | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
|
@@ -328,32 +346,34 @@ jobs: | |
- name: dist-apple-various | ||
env: | ||
SCRIPT: "./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim" | ||
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false" | ||
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 10.12 | ||
SELECT_XCODE: /Applications/Xcode_13.4.1.app | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
os: macos-13 | ||
- name: x86_64-apple-1 | ||
env: | ||
SCRIPT: "./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps" | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false" | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 10.12 | ||
MACOSX_STD_DEPLOYMENT_TARGET: 10.12 | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
os: macos-13 | ||
- name: x86_64-apple-2 | ||
env: | ||
SCRIPT: "./x.py --stage 2 test tests/ui tests/rustdoc tests/run-make-fulldeps" | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false" | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 10.12 | ||
MACOSX_STD_DEPLOYMENT_TARGET: 10.12 | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
|
@@ -363,28 +383,28 @@ jobs: | |
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin" | ||
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
SELECT_XCODE: /Applications/Xcode_13.4.1.app | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
USE_XCODE_CLANG: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 11.0 | ||
MACOSX_STD_DEPLOYMENT_TARGET: 11.0 | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
DIST_REQUIRE_ALL_TOOLS: 1 | ||
os: macos-13-xlarge | ||
os: macos-14 | ||
- name: aarch64-apple | ||
env: | ||
SCRIPT: "./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin" | ||
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false" | ||
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc" | ||
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 | ||
SELECT_XCODE: /Applications/Xcode_13.4.1.app | ||
SELECT_XCODE: /Applications/Xcode_14.3.1.app | ||
USE_XCODE_CLANG: 1 | ||
MACOSX_DEPLOYMENT_TARGET: 11.0 | ||
MACOSX_STD_DEPLOYMENT_TARGET: 11.0 | ||
NO_LLVM_ASSERTIONS: 1 | ||
NO_DEBUG_ASSERTIONS: 1 | ||
NO_OVERFLOW_CHECKS: 1 | ||
os: macos-13-xlarge | ||
os: macos-14 | ||
- name: x86_64-msvc | ||
env: | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler" | ||
|
@@ -418,7 +438,7 @@ jobs: | |
os: windows-2019-8core-32gb | ||
- name: dist-x86_64-msvc | ||
env: | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler" | ||
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --host=x86_64-pc-windows-msvc --target=x86_64-pc-windows-msvc --enable-full-tools --enable-profiler --set rust.codegen-units=1" | ||
SCRIPT: python x.py build --set rust.debug=true opt-dist && PGO_HOST=x86_64-pc-windows-msvc ./build/x86_64-pc-windows-msvc/stage0-tools-bin/opt-dist windows-ci -- python x.py dist bootstrap --include-default-paths | ||
DIST_REQUIRE_ALL_TOOLS: 1 | ||
os: windows-2019-8core-32gb | ||
|
@@ -455,9 +475,20 @@ jobs: | |
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-extended --enable-profiler" | ||
SCRIPT: python x.py dist bootstrap --include-default-paths | ||
os: windows-2019-8core-32gb | ||
defaults: | ||
run: | ||
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" | ||
timeout-minutes: 600 | ||
runs-on: "${{ matrix.os }}" | ||
steps: | ||
- if: "contains(matrix.os, 'windows')" | ||
uses: msys2/[email protected] | ||
with: | ||
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" | ||
update: false | ||
release: true | ||
path-type: inherit | ||
install: "make dos2unix diffutils\n" | ||
- name: disable git crlf conversion | ||
run: git config --global core.autocrlf false | ||
- name: checkout the source code | ||
|
@@ -535,7 +566,7 @@ jobs: | |
run: src/ci/scripts/verify-stable-version-number.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: run the build | ||
run: src/ci/scripts/run-build-from-ci.sh | ||
run: src/ci/scripts/run-build-from-ci.sh 2>&1 | ||
env: | ||
AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}" | ||
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}" | ||
|
@@ -545,7 +576,7 @@ jobs: | |
run: src/ci/scripts/create-doc-artifacts.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: upload artifacts to github | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ env.DOC_ARTIFACT_NAME }}" | ||
path: obj/artifacts/doc | ||
|
@@ -565,6 +596,7 @@ jobs: | |
CI_JOB_NAME: "${{ matrix.name }}" | ||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | ||
HEAD_SHA: "${{ github.event.pull_request.head.sha || github.sha }}" | ||
DOCKER_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
SCCACHE_BUCKET: rust-lang-ci-sccache2 | ||
DEPLOY_BUCKET: rust-lang-ci2 | ||
TOOLSTATE_REPO: "https://github.com/rust-lang-nursery/rust-toolstate" | ||
|
@@ -582,9 +614,20 @@ jobs: | |
env: | ||
CODEGEN_BACKENDS: "llvm,cranelift" | ||
os: ubuntu-20.04-16core-64gb | ||
defaults: | ||
run: | ||
shell: "${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}" | ||
timeout-minutes: 600 | ||
runs-on: "${{ matrix.os }}" | ||
steps: | ||
- if: "contains(matrix.os, 'windows')" | ||
uses: msys2/[email protected] | ||
with: | ||
msystem: "${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }}" | ||
update: false | ||
release: true | ||
path-type: inherit | ||
install: "make dos2unix diffutils\n" | ||
- name: disable git crlf conversion | ||
run: git config --global core.autocrlf false | ||
- name: checkout the source code | ||
|
@@ -662,7 +705,7 @@ jobs: | |
run: src/ci/scripts/verify-stable-version-number.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: run the build | ||
run: src/ci/scripts/run-build-from-ci.sh | ||
run: src/ci/scripts/run-build-from-ci.sh 2>&1 | ||
env: | ||
AWS_ACCESS_KEY_ID: "${{ env.CACHES_AWS_ACCESS_KEY_ID }}" | ||
AWS_SECRET_ACCESS_KEY: "${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}" | ||
|
@@ -672,7 +715,7 @@ jobs: | |
run: src/ci/scripts/create-doc-artifacts.sh | ||
if: success() && !env.SKIP_JOB | ||
- name: upload artifacts to github | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ env.DOC_ARTIFACT_NAME }}" | ||
path: obj/artifacts/doc | ||
|
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 |
---|---|---|
|
@@ -129,7 +129,7 @@ Clement Miao <[email protected]> | |
Clément Renault <[email protected]> | ||
Cliff Dyer <[email protected]> | ||
Clinton Ryan <[email protected]> | ||
Corey Richardson <[email protected]> Elaine "See More" Nemo <[email protected]> | ||
ember arlynx <[email protected]> <[email protected]> | ||
Crazycolorz5 <[email protected]> | ||
csmoe <[email protected]> | ||
Cyryl Płotnicki <[email protected]> | ||
|
@@ -259,6 +259,7 @@ James Hinshelwood <[email protected]> <[email protected]> | |
James Miller <[email protected]> <[email protected]> | ||
James Perry <[email protected]> | ||
James Sanderson <[email protected]> | ||
Jan-Erik Rediger <[email protected]> <[email protected]> | ||
Jaro Fietz <[email protected]> | ||
Jason Fager <[email protected]> | ||
Jason Liquorish <[email protected]> <[email protected]> | ||
|
@@ -323,6 +324,7 @@ Katze <[email protected]> | |
Keegan McAllister <[email protected]> <[email protected]> | ||
Kerem Kat <[email protected]> | ||
Kevin Butler <[email protected]> | ||
Kevin Reid <[email protected]> <[email protected]> | ||
Kevin Jiang <[email protected]> | ||
Kornel Lesiński <[email protected]> | ||
Krishna Sai Veera Reddy <[email protected]> | ||
|
Oops, something went wrong.