Commit Graph

2808 Commits

Author SHA1 Message Date
Jonathan Brouwer b86fbcd358 Rollup merge of #151810 - Unique-Usman:ua/debuginfostat, r=Kobzol
citool: report debuginfo test statistics

Extend CI postprocessing to aggregate pass/fail/ignored counts for debuginfo tests. Tests are identified via their reported suite names (e.g. debuginfo-gdb, debuginfo-lldb or debuginfo-cdb).
2026-02-04 14:39:20 +01:00
Jonathan Brouwer 841c462eb0 Rollup merge of #151534 - davidtwco:destabilise-target-spec-json-again, r=chenyukang
target: fix destabilising target-spec-json

cc rust-lang/rust#151528

rust-lang/rust#150151 missed a case and didn't entirely destabilise target-spec-json - this patch corrects that.

Closes https://github.com/rust-lang/rust/issues/71009
2026-02-04 14:39:17 +01:00
Jonathan Brouwer 71ed31eece Rollup merge of #152060 - heiher:opt-loong64-linux, r=Kobzol
ci: Optimize loongarch64-linux dist builders

Tune the build configuration for loongarch64-linux targets to speed up rustc.

Changes include:
- Enable jemalloc and rust thin-lto.
- Set codegen-units=1.

These changes reduce rustc-perf compile time by ~17%.
2026-02-04 08:12:41 +01:00
WANG Rui ac160bba12 ci: Optimize loongarch64-linux dist builders
Tune the build configuration for loongarch64-linux targets to speed up rustc.

Changes include:
- Enable jemalloc and rust thin-lto.
- Set codegen-units=1 and disable debug assertions.

These changes reduce rustc-perf compile time by ~17%.
2026-02-04 10:29:50 +08:00
Usman Akinyemi 07e4a994d6 citool: report debuginfo test statistics
Extend CI postprocessing to aggregate pass/fail/ignored counts
for debuginfo tests. Tests are identified via their reported
suite names (e.g. debuginfo-gdb, debuginfo-lldb or debuginfo-cdb).

Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
2026-02-04 06:44:09 +05:30
Jonathan Brouwer 9935c3c2b9 Rollup merge of #152012 - madsmtm:unselect-xcode, r=shepmaster
Use `DEVELOPER_DIR` instead of a custom `xcode-select` script

`DEVELOPER_DIR` is the standard environment variable for overriding the Xcode version, there is no need to invoke `xcode-select --switch` manually to do this.

The variable is documented in both `man xcode-select` and `man xcrun`.

Using this makes reproducing things locally a little easier (you can just copy the env var).

r? shepmaster
2026-02-03 23:29:56 +01:00
Mads Marquart 19e4108ed1 Use DEVELOPER_DIR instead of a custom xcode-select script
`DEVELOPER_DIR` is the standard environment variable for overriding the
Xcode version, there is no need to invoke `xcode-select --switch`
manually to do this.

The variable is documented in both `man xcode-select` and `man xcrun`.
2026-02-03 20:14:52 +01:00
Jonathan Brouwer 458d536cb1 Rollup merge of #152034 - Kobzol:ci-analysis-time, r=marcoieni
Show largest job duration changes in hours and minutes in the post-merge report

This was suggested by... someone, somewhere. But it's a good idea.

See https://github.com/rust-lang/rust/pull/152025#issuecomment-3839702972 - now instead of seconds it would show this:

# Job duration changes
1. [dist-apple-various](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011925): 1h 3m -> 1h 29m (+41.5%)
2. [dist-x86_64-apple](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011972): 2h 1m -> 2h 21m (+16.4%)
3. [dist-ohos-x86_64](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011829): 1h 11m -> 1h 19m (+12.4%)
4. [x86_64-gnu-llvm-20](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011909): 1h 9m -> 1h 17m (+11.9%)
5. [pr-check-1](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011862): 32m 27s -> 28m 44s (-11.4%)
6. [tidy](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011845): 2m 37s -> 2m 52s (+9.9%)
7. [armhf-gnu](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011763): 1h 22m -> 1h 30m (+9.5%)
8. [dist-aarch64-apple](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011941): 1h 54m -> 1h 44m (-9.1%)
9. [x86_64-gnu-llvm-21-3](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011924): 1h 45m -> 1h 54m (+9.1%)
10. [x86_64-gnu-llvm-21-1](https://github.com/rust-lang/rust/actions/runs/21617345733#summary-62299011923): 1h 9m -> 1h 15m (+9.0%)
2026-02-03 18:54:46 +01:00
Jakub Beránek cb9c43b7e8 Show largest job duration changes in hours and minutes, rather than just seconds 2026-02-03 11:47:53 +01:00
Jakub Beránek 6b3d1e0604 Update Cargo.lock
It probably wasn't committed after an earlier change.
2026-02-03 11:47:30 +01:00
Miguel Ojeda 2a9de6ba85 CI: rfl: move to temporary commit to pass -Zunstable-options for custom target specs
This also takes the chance to move forward the job to Linux v6.19-rc7,
thus the previous workaround is not needed anymore.

Link: https://github.com/rust-lang/rust/pull/151534
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-01-30 13:54:35 +00:00
Guillaume Gomez 6397395362 Update askama version to 0.15.4 2026-01-29 17:08:19 +01:00
Guillaume Gomez e1417f408e Update askama to 0.15.3 2026-01-28 22:06:18 +01:00
bors a234ae6b65 Auto merge of #151778 - Zalathar:rollup-A0breU3, r=Zalathar
Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#151239 (Support trait objects in type info reflection)
 - rust-lang/rust#150893 (offload: move (un)register lib into global_ctors)
 - rust-lang/rust#151013 (Add some clarifications and fixes for fmt syntax)
 - rust-lang/rust#151666 (compiler: Rename several types/traits for per-query vtables)
 - rust-lang/rust#151738 (Add `extern crate core` to diagnostic tests)
 - rust-lang/rust#151747 (Update `askama` version to `0.15.2`)
 - rust-lang/rust#151759 (Update `browser-ui-test` version to `0.23.3`)
 - rust-lang/rust#151763 (Add FileCheck annotations to simplify_match.rs)
 - rust-lang/rust#151766 (Fix `x fix`, again)
2026-01-28 11:21:46 +00:00
Stuart Cook 0f63f2a77e Rollup merge of #151747 - GuillaumeGomez:update-askama, r=jieyouxu
Update `askama` version to `0.15.2`

Link to new release is [here](https://github.com/askama-rs/askama/releases/tag/v0.15.2). Basically improves a few things and remove some warnings.

r? @jieyouxu
2026-01-28 19:03:53 +11:00
Guillaume Gomez 4ae692df6f Update askama version to 0.15.2 2026-01-27 16:47:26 +01:00
Nikita Popov 749a27975c Update host toolchain 2026-01-27 12:09:39 +01:00
Jonathan Brouwer a975a74a7a Rollup merge of #151536 - jakos-sec:fix-asan-target, r=Kobzol
Fix sanitizer target builds on CI
2026-01-26 18:19:15 +01:00
Matthias Krüger df4fe869ce Rollup merge of #149962 - Gelbpunkt:powerpc64-musl-tier-2, r=Mark-Simulacrum
Promote powerpc64-unknown-linux-musl to tier 2 with host tools

MCP: https://github.com/rust-lang/compiler-team/issues/946

Tested by compiling on an x86_64 host via `DEPLOY=1 ./src/ci/docker/run.sh dist-powerpc64-linux-musl` and running on Alpine Linux ppc64:

```
root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# bash install.sh
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-powerpc64-unknown-linux-musl'
install: installing component 'cargo'
install: installing component 'rustfmt-preview'
install: installing component 'rust-analyzer-preview'
install: installing component 'llvm-tools-preview'
install: installing component 'clippy-preview'
install: installing component 'miri-preview'
install: installing component 'rust-analysis-powerpc64-unknown-linux-musl'
install: installing component 'llvm-bitcode-linker-preview'

    rust installed.

root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# echo 'fn main() { println!("hello world"); }' > test.rs
root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# which rustc
/usr/local/bin/rustc
root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# rustc test.rs
root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# ./test
hello world
root@algol /t/rust-nightly-powerpc64-unknown-linux-musl# file test
test: ELF 64-bit MSB pie executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-powerpc64.so.1, BuildID[sha1]=90a0fa543b3d42588ad32c5b858e56ac9c56faed, with debug_info, not stripped
```

I renamed the glibc job and created a new one for musl since the same is done for the little-endian targets.

Implements rust-lang/rust#149938

try-job: dist-powerpc64-linux-gnu
try-job: dist-powerpc64-linux-musl
2026-01-24 21:04:13 +01:00
Jakob Koschel c6441d8f00 Fix sanitizer target builds on CI 2026-01-23 11:55:42 +00:00
Jakob Koschel 1521f88c90 add x86_64-unknown-linux-gnuasan to CI
Since it is a tier 2 target it should also be built by the CI workflow.
2026-01-21 16:30:26 +00:00
Jonathan Brouwer 92737cab34 Rollup merge of #151117 - reduce_deps, r=Kobzol
Avoid serde dependency in build_helper when not necessary

Run-make-support doesn't need the metrics code to be pulled in ever. And bootstrap only needs it in CI where build metrics support is enabled.
2026-01-14 22:30:00 +01:00
bjorn3 2b209a69cf Avoid serde dependency in build_helper when not necessary 2026-01-14 13:21:16 +00:00
bors 2fd6efc327 Auto merge of #150541 - Kobzol:dist-gcc-component, r=jieyouxu
Add a dist component for libgccjit

Companion to https://github.com/rust-lang/rust/pull/150538.

try-job: dist-x86_64-linux
2026-01-14 09:57:06 +00:00
Guillaume Gomez 66f25e9d8d Rollup merge of #150771 - remove-homu-branches, r=marcoieni
Remove legacy homu `try` and `auto` branch mentions

~~To be merged once we get rid of homu.~~ I think that we can merge this now.
2026-01-13 23:39:09 +01:00
Jakub Beránek c263d36539 Fix citool tests 2026-01-13 07:35:24 +01:00
rust-bors[bot] b115ea2e6a Auto merge of #150959 - Kobzol:bors-email-3, r=marcoieni
Use the old homu bors e-mail address again

Now that new bors knows how to use the old homu e-mail address (https://github.com/rust-lang/bors/pull/614), we can revert to the old address. I modified the code to keep compatibility with both addresses, so that everything should still work for every merged commit in the past few days. In a few weeks/months, we could remove the temporary bors e-mail address, as at that point no one will likely care about these few merged commits anymore.

Should not be merged until https://github.com/rust-lang/bors/pull/614 is deployed, although the current version in `main` should already mostly work with both addresses, except for CI postprocessing statistics.

Should be backported.
2026-01-12 10:04:23 +00:00
Jakub Beránek faea581d45 Remove references to bors2 2026-01-11 10:35:13 +01:00
Jakub Beránek 87d716701e Reenable GCC CI download 2026-01-09 14:35:15 +01:00
Jakub Beránek b0aa77a026 Build GCC on CI 2026-01-08 17:08:45 +01:00
rust-bors[bot] 32fe406b5e Auto merge of #150538 - Kobzol:dist-cg-gcc-component, r=jieyouxu
Add a dist component for cg_gcc

try-job: dist-x86_64-linux
2026-01-08 09:53:23 +00:00
Jakub Beránek f2d0d52c2f Remove unused environment variable
Its last use was removed in https://github.com/rust-lang/rust/pull/142827.
2026-01-07 22:50:35 +01:00
rust-bors[bot] fc546b94ad Auto merge of #150645 - GuillaumeGomez:rename-rustdoc-tests, r=Kobzol,Zalathar
Rename `tests/rustdoc` into `tests/rustdoc-html`

As discussed on [zulip](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/rename.20tests.2Frustdoc.20to.20rustdoc-html.3F/with/566142388), renaming this testsuite better reflects what they actually test. Later on, it could also allow us to add an alias to run all rustdoc tests at once.

r? @camelid
2026-01-07 16:21:28 +00:00
Jakub Beránek 9c4ead6814 Remove legacy homu try and auto branch mentions 2026-01-07 16:44:51 +01:00
Guillaume Gomez a928f3352d Rename tests/rustdoc into tests/rustdoc-html 2026-01-07 14:23:30 +01:00
Jakub Beránek 6f7313e8ad Make verify-channel.sh script compatible with new bors 2026-01-07 13:06:27 +01:00
Jakub Beránek 9b789f0bd0 Dist cg_gcc on CI 2026-01-05 10:52:27 +01:00
Jakub Beránek 4129f3aeef Temporarily disable gcc.download-ci-gcc
Because we renamed the CI component. We will have to re-enable it in a follow-up PR.
2026-01-02 10:18:09 +01:00
Jakub Beránek 7b8d4c602e Rename the gcc component to gcc-dev
To free up the `gcc` name for the actual libgccjit component that we will ship to rustup, and also make it more explicit that this component is internal and for bootstrap usages only.
2026-01-02 10:18:06 +01:00
Guillaume Gomez 5c1df0d0fa Update askama version to 0.15 in citool 2025-12-28 20:47:23 +01:00
Jonathan Brouwer 2a9bc187a6 Rollup merge of #149964 - Mark-Simulacrum:ci-channel, r=Kobzol
Write file with channel to S3

This will let rustup-toolchain-install-master gain support for installing stable artifacts, which is currently only possible when explicitly overriding the channel. That in turn will unblock letting Crater kick off a beta run as soon as both a new beta and a new stable artifact are ready, rather than waiting until the actual release.
2025-12-25 21:11:53 +01:00
Jakub Beránek bbf4ec3b0f Add support for automation/bors/auto merge branch 2025-12-23 15:47:03 +01:00
Mark Rousskov bdc8894004 Write file with channel to S3
This will let rustup-toolchain-install-master gain support for
installing stable artifacts, which is currently only possible when
explicitly overriding the channel. That in turn will unblock letting
Crater kick off a beta run as soon as both a new beta and a new stable
artifact are ready, rather than waiting until the actual release.
2025-12-21 20:14:49 -05:00
Jonathan Brouwer 6c7ee7d84a Rollup merge of #149734 - Kobzol:gcc-9.2.0, r=marcoieni
Mirror GCC 9.5.0

The GCC servers can be unreliable.

r? `@marcoieni`
2025-12-16 20:21:06 +01:00
Jakub Beránek fca8611a3e Mirror GCC 2025-12-16 09:42:42 +01:00
Jens Reidel 624135bd79 Promote powerpc64-unknown-linux-musl to tier 2 with host tools
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-12-13 21:53:42 +01:00
Jakub Beránek 40891c79e6 Use ubuntu:24.04 for the x86_64-gnu-miri and x86_64-gnu-aux jobs 2025-12-10 17:50:35 +01:00
Matthias Krüger f610f0568a Rollup merge of #149605 - Kobzol:unshalllow-beta, r=cuviper
Use branch name instead of HEAD when unshallowing

Fixes a regression with the beta channel that was discovered in https://github.com/rust-lang/rust/pull/149572.

r? `@cuviper`
2025-12-04 16:07:55 +01:00
Mateusz Mikuła fdea885b80 Revert #149516 to fix i686-pc-windows-gnu host
Revert #149516 because it caused dist to pick up x86_64
`libwinpthreads.dll` dependency, resulting in broken toolchain.

This reverts commit 5afd8ff8df, reversing
changes made to 7cb02f9752.
2025-12-03 21:23:37 +01:00
Jakub Beránek fce8552f82 Use branch name instead of HEAD when unshallowing 2025-12-03 19:43:50 +01:00