about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2025-02-20Auto merge of #137023 - Kobzol:bump-sccache, r=marcoienibors-5/+11
Bump sccache in CI to 0.9.1 We haven't updated the used sccache version for years, it has accrued a bunch of fixes and features in the meantime. It now supports the `--show-adv-stats` flag, which gives a more detailed summary of the results of caching. And it can also cache Rust code, which could be useful in the future (https://github.com/rust-lang/rust/pull/136942 - although now there are no large wins). It also supports caching PGO now, but since the PGO profiles are always different, it won't make any real difference. https://github.com/rust-lang/rust/pull/133076 previously tried to update the version to 0.3 (CC `@klensy)` r? `@marcoieni`
2025-02-19Rollup merge of #136815 - ChrisDenton:fix-mingw-ci, r=KobzolMatthias Krüger-0/+6
CI: Stop /msys64/bin from being prepended to PATH in msys2 shell We used to do this along time ago but we stopped doing it when we started installing msys2 manually. https://github.com/rust-lang/rust/blob/4fd3cf96a1db7771ef4f332b9eb1ad17fa0fd091/src/ci/scripts/install-msys2.sh#L11-L13 Fixes #136795 try-job: dist-i686-mingw
2025-02-18Auto merge of #137176 - matthiaskrgr:rollup-eht05gr, r=matthiaskrgrbors-2/+2
Rollup of 9 pull requests Successful merges: - #136959 (Simplify switch sources) - #137020 (Pass vendored sources from bootstrap to generate-copyright) - #137073 (boostrap: skip no_std targets in Std doc step) - #137165 (Use `tell` for `<File as Seek>::stream_position`) - #137166 (Update default loongarch code model in docs) - #137168 (correct comment) - #137169 (CI: rfl: move job forward to Linux v6.14-rc3) - #137170 (Allow configuring jemalloc per target) - #137173 (Subtree update of `rust-analyzer`) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-17Auto merge of #135763 - nikic:llvm-20, r=cuviperbors-0/+4
Update to LLVM 20 LLVM 20 GA is scheduled for March 11th. Rust 1.87 will be stable on May 15th. * [x] https://github.com/rust-lang/rust/pull/135764 * [x] https://github.com/rust-lang/rust/pull/136134 * [x] https://github.com/rust-lang/compiler-builtins/pull/752 * [x] https://github.com/llvm/llvm-project/pull/125287 * [x] https://github.com/rust-lang/rust/pull/136537 * [x] https://github.com/rust-lang/rust/pull/136895 * [x] Wait for beta branch (Feb 14). Tested: host-x86_64, host-aarch64, apple, mingw, msvc
2025-02-17Default to the medium code model for the loongarch64-linux toolchainsWANG Rui-0/+4
The medium code model is already the default on the Rust side. Make sure that linked in C objects (e.g. from glibc) also use medium code model.
2025-02-17CI: rfl: move job forward to Linux v6.14-rc3Miguel Ojeda-2/+2
Linux v6.14-rc3 contains commit 6273a058383e ("x86: rust: set rustc-abi=x86-softfloat on rustc>=1.86.0"), which resolves the error from https://github.com/rust-lang/rust/pull/136146. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-02-16Auto merge of #137127 - pietroalbini:pa-musl-cve-2025-26519, r=jieyouxubors-0/+41
Fix musl's CVE-2025-26519 The musl project [announced CVE-2025-26519](https://www.openwall.com/lists/musl/2025/02/13/1), which could result in out-of-bounds writes when calling the `iconv` function. There is no musl release available with the fixes at this point in time (and we're using an older version of musl anyway), so this PR applies the provided patches on top of the musl source tarball we download.
2025-02-16fix musl's CVE-2025-26519Pietro Albini-0/+41
2025-02-16Auto merge of #136914 - marcoieni:arm-ubuntu-24, r=jdnobors-1/+1
ci: use ubuntu 24 for free arm runner try-job: aarch64-gnu try-job: aarch64-gnu-debug
2025-02-15Rollup merge of #137070 - Kobzol:ci-summary-invalid-link, r=marcoieniMatthias Krüger-5/+10
Do not generate invalid links in job summaries Avoid [this](https://github.com/rust-lang-ci/rust/actions/runs/13341911341#summary-37267605606). It has bugged me for quite some time :) When a directory is empty, the `*.xz` bash glob "expands" to a file called `*.xz`. r? `@marcoieni`
2025-02-15Do not generate invalid links in job summariesJakub Beránek-5/+10
2025-02-15Rollup merge of #135813 - marcoieni:free-runner-i686-mingw, r=jdnoJacob Pratt-3/+21
CI: split i686-mingw job to three free runners try-job: i686-mingw-1 try-job: i686-mingw-2 try-job: i686-mingw-3 try-job: x86_64-mingw-1
2025-02-14Don't error if stopping mysql fails in CIChris Denton-5/+0
2025-02-14Do not pass empty AWS keys to sccache in PR buildsJakub Beránek-2/+8
2025-02-14Print advanced sccache statisticsJakub Beránek-1/+1
2025-02-14Update sccache version used on CI to 0.9.1Jakub Beránek-2/+2
2025-02-14CI: split i686-mingw job to three free runnersMarcoIeni-3/+21
2025-02-14Auto merge of #137010 - workingjubilee:rollup-g00c07v, r=workingjubileebors-2/+2
Rollup of 9 pull requests Successful merges: - #135439 (Make `-O` mean `OptLevel::Aggressive`) - #136460 (Simplify `rustc_span` `analyze_source_file`) - #136904 (add `IntoBounds` trait) - #136908 ([AIX] expect `EINVAL` for `pthread_mutex_destroy`) - #136924 (Add profiling of bootstrap commands using Chrome events) - #136951 (Use the right binder for rebinding `PolyTraitRef`) - #136981 (ci: switch loongarch jobs to free runners) - #136992 (Update backtrace) - #136993 ([cg_llvm] Remove dead error message) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-13ci: switch loongarch jobs to free runnersMarcoIeni-2/+2
2025-02-13ci: move `x86_64-gnu-debug` job to the free runnerMarcoIeni-3/+1
2025-02-12ci: use ubuntu 24 for free arm runnerMarcoIeni-1/+1
2025-02-11ci: remove more unused files and directories in free runnersMarcoIeni-21/+63
2025-02-11Auto merge of #136571 - marcoieni:ubuntu-24-large-runners, r=Mark-Simulacrumbors-3/+3
ci: use ubuntu 24 for x86 large runners try-job: dist-powerpc64le-linux try-job: x86_64-gnu-debug try-job: dist-arm-linux try-job: x86_64-fuchsia try-job: x86_64-gnu-distcheck try-job: dist-x86_64-linux try-job: dist-x86_64-linux-alt
2025-02-11Rollup merge of #136155 - tmiasko:msvc-enable-sanitizers, r=Mark-SimulacrumMatthias Krüger-4/+4
Enable sanitizers on MSVC CI jobs Previously MSVC CI would ignore all tests annotated with needs-sanitizer-support header.
2025-02-10Auto merge of #133092 - madsmtm:bootstrap-deployment-target, ↵bors-2/+10
r=Mark-Simulacrum,jieyouxu Always set the deployment target when building std `cc` has [a bug/feature](https://github.com/rust-lang/cc-rs/issues/1171) (I guess depending on how you look at it) where the default deployment target is taken from the SDK instead of from `rustc`. This causes `compiler-builtins` to build `compiler-rt` with the wrong deployment target on iOS. I've been meaning to change how `cc` works in this regard, but that's a lengthy process, so let's fix it in bootstrap for now. The behaviour can be seen locally with `./x build library --set build.optimized-compiler-builtins=true` for various target triples, and then inspecting with `otool -l build/host/stage1/lib/rustlib/*/lib/libcompiler_builtins-*.rlib | rg 'minos|version'`. I have added a rmake test that ensures that we now have the same version everywhere. Fixes https://github.com/rust-lang/rust/issues/128419 Fixes https://github.com/rust-lang/compiler-builtins/issues/650 Fixes https://github.com/rust-lang/rust/issues/136523 See also https://github.com/rust-lang/cargo/issues/13115, https://github.com/rust-lang/cc-rs/issues/1171, https://github.com/rust-lang/rust/issues/136113 See https://github.com/rust-lang/rust/pull/133092#issuecomment-2626206772 for a description of how the change works. try-job: i686-gnu-1 try-job: i686-gnu-2 try-job: x86_64-apple-1 try-job: aarch64-apple try-job: dist-apple-various try-job: dist-aarch64-apple try-job: dist-various-2 try-job: x86_64-fuchsia
2025-02-10Rollup merge of #136628 - heiher:crosstool-ng-1.27, r=Mark-SimulacrumMatthias Krüger-24/+7
ci: upgrade to crosstool-ng 1.27.0 try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl try-job: dist-powerpc64le-linux
2025-02-10Prevent /msys64/bin from being prepended to PATHChris Denton-0/+6
2025-02-10Rollup merge of #136487 - marcoieni:disable-mysql-systemctl, r=Mark-SimulacrumJubilee-0/+3
ci: stop mysql before removing it try-job: aarch64-gnu
2025-02-08Rollup merge of #136679 - Flakebi:loongarch64-diskspace, r=marcoieniMatthias Krüger-2/+2
ci: Use largedisk for loongarch `dist-loongarch64-linux` and `dist-loongarch64-musl` seem to run out of disk space when adding the amdgpu LLVM backend. There are changes underway to free more disk space, but that may take a while, so it was suggested to switch the affected jobs to a largedisk runner until that is ready. `dist-powerpc64-linux` is another job that ran out of disk space one time, but it succeeded the other times, so I did not include it here. amdgpu target PR with more references to the failures: #134740 r? ```@marcoieni```
2025-02-07Auto merge of #136684 - matthiaskrgr:rollup-mlpzre5, r=matthiaskrgrbors-9/+9
Rollup of 8 pull requests Successful merges: - #135973 (fix tail call checks wrt `#[track_caller]`) - #136191 (compiler: replace few consts arrays with statics to remove const dupes) - #136565 (compiler: Clean up weird `rustc_abi` reexports) - #136582 (Revert "CI: build FreeBSD artifacts on FreeBSD 13.4") - #136627 (MIR validation: add comment explaining the limitations of CfgChecker) - #136634 (Stabilise `Cursor::{get_mut, set_position}` in `const` scenarios.) - #136643 (ping me for attribute-related changes) - #136644 (Add `rustc_hir_pretty::item_to_string` function) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-07Rollup merge of #136582 - asomers:revert-132232, r=tgross35Matthias Krüger-9/+9
Revert "CI: build FreeBSD artifacts on FreeBSD 13.4" This reverts commit cf34545720986d99712e3b542e8f395360c75095. That commit led to a regression of https://github.com/rust-lang/rust/issues/132185 . So my analysis that the problem lay in FreeBSD 13.2's specific LLVM version was clearly wrong. Revert that commit until we can figure out the real root cause. Fixes #132185 try-job: dist-x86_64-freebsd try-job: dist-various-2
2025-02-07ci: Use largedisk for loongarchFlakebi-2/+2
`dist-loongarch64-linux` and `dist-loongarch64-musl` seem to run out of disk space when adding the amdgpu LLVM backend. There are changes underway to free more disk space, but that may take a while, so it was suggested to switch the affected jobs to a largedisk runner until that is ready.
2025-02-06ci: use ubuntu 22 for free arm runnersMarcoIeni-1/+1
2025-02-06ci: use ubuntu 24 for x86 large runnersMarcoIeni-3/+3
2025-02-06ci: upgrade to crosstool-ng 1.27.0WANG Rui-24/+7
2025-02-05Update browser-ui-test version to `0.20.2`Guillaume Gomez-1/+1
2025-02-05fixup: fix the compiler path in one more DockerfileAlan Somers-3/+3
2025-02-05Revert "CI: build FreeBSD artifacts on FreeBSD 13.4"Alan Somers-6/+6
This reverts commit cf34545720986d99712e3b542e8f395360c75095. That commit led to a regression of https://github.com/rust-lang/rust/issues/132185 . So my analysis that the problem lay in FreeBSD 13.2's specific LLVM version was clearly wrong. Revert that commit until we can figure out the real root cause. Fixes #132185
2025-02-03Auto merge of #136483 - marcoieni:dist-x86_64-msvc-windows-25, r=Kobzolbors-1/+1
ci: move dist-x86_64-msvc to windows 2025 try-job: dist-x86_64-msvc
2025-02-03Auto merge of #136146 - RalfJung:x86-abi, r=workingjubileebors-2/+2
Explicitly choose x86 softfloat/hardfloat ABI Part of https://github.com/rust-lang/rust/pull/135408: Instead of choosing this based on the target features listed in the target spec, make that choice explicit. All built-in targets are being updated here; custom (JSON-defined) x86 (32bit and 64bit) softfloat targets need to explicitly set `rustc-abi` to `x86-softfloat`.
2025-02-03patch RfL jobRalf Jung-2/+2
2025-02-03ci: stop mysql before removing itMarcoIeni-0/+3
2025-02-03ci: move dist-x86_64-msvc to windows 2025MarcoIeni-1/+1
2025-02-02Auto merge of #136433 - matthiaskrgr:rollup-co27itw, r=matthiaskrgrbors-12/+3
Rollup of 7 pull requests Successful merges: - #133266 (ci: fix explanation why LLVM download is disabled for windows-gnu) - #136133 (Fix sentence in process::abort) - #136279 (Rename `tcx.ensure()` to `tcx.ensure_ok()`, and improve the associated docs) - #136328 (Rework "long type names" printing logic) - #136358 (`#[optimize(none)]` implies `#[inline(never)]`) - #136368 (Make comma separated lists of anything easier to make for errors) - #136412 (Tweak fn pointer suggestion span) r? `@ghost` `@rustbot` modify labels: rollup
2025-02-02Rollup merge of #133266 - mati865:windows-gnu-llvm-download, r=KobzolMatthias Krüger-12/+3
ci: fix explanation why LLVM download is disabled for windows-gnu Continuation of https://github.com/rust-lang/rust/pull/132781
2025-02-02Auto merge of #136238 - marcoieni:free-disk-refactor, r=Kobzolbors-30/+64
ci: refactor how directories are removed in free-disk-space disk try-job: aarch64-gnu
2025-02-01Auto merge of #136136 - marcoieni:ubuntu-24, r=Kobzolbors-2/+2
ci: use ubuntu 24 on free runners try-job: aarch64-gnu try-job: aarch64-gnu-debug
2025-01-31Update deployment target setup in jobs.ymlMads Marquart-2/+10
Note that specifying MACOSX_STD_DEPLOYMENT_TARGET is still completely unnecessary here, but it's nice to have for future changes where we might want to version `std` and `rustc`'s deployment target separately.
2025-01-30ci: refactor how directories are removed in free-disk-space diskMarcoIeni-30/+64
2025-01-29ci: use windows 2025 for i686-mingwMarcoIeni-1/+5