bors
2fcf1776b9
Auto merge of #142245 - marcoieni:split-gnu-tools, r=Kobzol
...
ci: split x86_64-gnu-tools job
try-job: x86_64-gnu-tools
try-job: x86_64-gnu-miri
try-job: aarch64-gnu
2025-06-19 10:39:00 +00:00
Mateusz Mikuła
d577b39c5a
{aarch64,x86_64}-pc-windows-gnullvm: build host tools
2025-06-18 17:07:19 +02:00
Jakub Beránek
743c2a4c71
Fix -nopt CI jobs
...
They were using `--config` instead of `--set`, which overrides too much stuff.
2025-06-16 10:28:55 +02:00
bors
64033a4ee5
Auto merge of #142483 - workingjubilee:rollup-8qnhueh, r=workingjubilee
...
Rollup of 16 pull requests
Successful merges:
- rust-lang/rust#140969 (Allow initializing logger with additional tracing Layer)
- rust-lang/rust#141352 (builtin dyn impl no guide inference)
- rust-lang/rust#142046 (add Vec::peek_mut)
- rust-lang/rust#142273 (tests: Minicore `extern "gpu-kernel"` feature test)
- rust-lang/rust#142302 (Rework how the disallowed qualifier in function type diagnostics are generated)
- rust-lang/rust#142405 (Don't hardcode the intrinsic return types twice in the compiler)
- rust-lang/rust#142434 ( Pre-install JS dependencies in tidy Dockerfile)
- rust-lang/rust#142439 (doc: mention that intrinsics should not be called in user code)
- rust-lang/rust#142441 (Delay replacing escaping bound vars in `FindParamInClause`)
- rust-lang/rust#142449 (Require generic params for const generic params)
- rust-lang/rust#142452 (Remove "intermittent" wording from `ReadDir`)
- rust-lang/rust#142459 (Remove output helper bootstrap)
- rust-lang/rust#142460 (cleanup search graph impl)
- rust-lang/rust#142461 (compiletest: Clarify that `--no-capture` is needed with `--verbose`)
- rust-lang/rust#142475 (Add platform support docs & maintainers for *-windows-msvc)
- rust-lang/rust#142480 (tests: Convert two handwritten minicores to add-core-stubs)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-14 04:58:22 +00:00
bors
64c81fd105
Auto merge of #142235 - Kobzol:rustc-dist-alt-assertions, r=marcoieni
...
Build rustc with assertions in `dist-alt` jobs
Revival of https://github.com/rust-lang/rust/pull/131077 , to check CI times now that we don't do PGO/BOLT anymore on Linux `-alt` builds.
r? `@ghost`
try-job: dist-x86_64-msvc-alt
try-job: dist-x86_64-linux-alt
2025-06-14 01:59:38 +00:00
Jakub Beránek
9d642fe6f3
Pre-install eslint in mingw-check-tidy Dockerfile
2025-06-13 06:54:36 +02:00
bit-aloo
d4d90ca3d2
put flag check at the end of command chain in mingw-check-2
2025-06-11 16:01:40 +05:30
bit-aloo
8c236ab51e
add comment over ci change
2025-06-11 13:48:50 +05:30
bit-aloo
052a7c5618
add tracing flag in bootstrap check cmd in mingw-check-2 ci workflow
2025-06-11 13:43:42 +05:30
Jakub Beránek
607a567916
Use a faster runner for the x64 dist-alt job
2025-06-10 12:17:05 +02:00
Rémy Rakic
8f069e948a
enable rustc debug assertions on -alt builds
...
llvm assertions are already enabled and debug assertions are also useful
2025-06-10 12:17:05 +02:00
MarcoIeni
f30e9c943c
ci: split x86_64-gnu-tools job
2025-06-10 10:30:06 +02:00
bors
00b526212b
Auto merge of #142241 - Kobzol:disable-ci-rustc-on-ci, r=jieyouxu
...
Disable download-rustc on CI
Should resolve https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/aarch64-apple.20try.20job.20doesn.27t.20work/with/522659759 .
r? `@jieyouxu`
2025-06-09 15:21:07 +00:00
bors
14863ea077
Auto merge of #142242 - matthiaskrgr:rollup-1sgx0ji, r=matthiaskrgr
...
Rollup of 7 pull requests
Successful merges:
- rust-lang/rust#129121 (Stabilize `tcp_quickack`)
- rust-lang/rust#142192 (De-duplicate f16 & f128 doctest attributes)
- rust-lang/rust#142193 (add tests for pattern binding drop order edge cases)
- rust-lang/rust#142222 (Dont make `ObligationCtxt`s with diagnostics unnecessarily)
- rust-lang/rust#142228 (rustc-dev-guide subtree update)
- rust-lang/rust#142231 (Run `calculate_matrix` job on `master` to cache citool builds)
- rust-lang/rust#142232 (add `Cargo.lock` to CI-rustc allowed list for non-CI env)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-09 12:21:14 +00:00
Jakub Beránek
ee8853b21f
Disable download-rustc on CI
2025-06-09 13:54:20 +02:00
Matthias Krüger
a9ba52b4dc
Rollup merge of #142218 - ojeda:rfl, r=Kobzol
...
CI: rfl: move job forward to Linux v6.16-rc1
Another hopefully routine upgrade to Linux v6.16-rc1, just released.
r? `@lqd` `@Kobzol`
try-job: x86_64-rust-for-linux
`@rustbot` label A-rust-for-linux
`@bors` try
2025-06-09 10:20:54 +02:00
Jakub Beránek
cb9980133c
Do not checkout GCC submodule for the tidy job
2025-06-09 08:17:56 +02:00
Jakub Beránek
54ed1b966f
Run calculate_matrix job on the master branch
...
This allows us to reuse its cache on PR CI jobs.
2025-06-09 08:14:38 +02:00
Jakub Beránek
7614592107
Do not inherit environment variables in citool tests
...
So that we can make sure that they are reproducible locally.
2025-06-09 08:06:05 +02:00
Jubilee
e91f985717
Rollup merge of #142210 - Kobzol:tidy-auto-builds, r=Mark-Simulacrum
...
Run `mingw-check-tidy` on auto builds
This has two advantages:
- It moves `auto` builds closer to being a superset of PR CI builds
- It allows us to reuse the Docker cache for the job in PR CI, thus speeding up the job in PR CI considerably
Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/PR.20ci.20seems.20much.20to.20slow ).
r? ``@Mark-Simulacrum``
2025-06-08 17:17:58 -07:00
Miguel Ojeda
f4ba1746cc
CI: rfl: move job forward to Linux v6.16-rc1
...
Remove the comment on top as well, since that issue is now fixed in this
new tag.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-06-08 21:37:37 +02:00
Jakub Beránek
e82630c452
Run mingw-check-tidy on auto builds
...
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-06-08 20:49:08 +02:00
Jakub Beránek
b189d29b92
Do not free disk space in the mingw-check-tidy job
...
It's not needed an it slows down the job considerably.
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-06-08 19:44:33 +02:00
bors
c57119b9a1
Auto merge of #142142 - jhpratt:rollup-frlezq2, r=jhpratt
...
Rollup of 8 pull requests
Successful merges:
- rust-lang/rust#137992 (Stabilise `os_string_pathbuf_leak`)
- rust-lang/rust#141558 (Limit the size of cgu names when using the `-Zhuman-readable-cgu-name…)
- rust-lang/rust#141797 (compiler: set Apple frame pointers by architecture)
- rust-lang/rust#141857 (coretests: move float tests from num to floats module and use a more flexible macro to generate them)
- rust-lang/rust#142045 (Make obligation cause code suggestions verbose)
- rust-lang/rust#142076 (Check documentation of bootstrap in PR CI)
- rust-lang/rust#142110 (Add solaris targets to build-manifest)
- rust-lang/rust#142131 (Make cast suggestions verbose)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-07 06:20:45 +00:00
Jacob Pratt
383df26edd
Rollup merge of #142076 - Kobzol:doc-bootstrap-ci, r=marcoieni
...
Check documentation of bootstrap in PR CI
It's annoying when wrong doc comments in bootstrap [break](https://github.com/rust-lang/rust/pull/141272#issuecomment-2943614152 ) `auto` CI. This has happened a few times recently, and documenting bootstrap with the stage0 compiler should be pretty quick, so let's add it to PR CI.
r? ``@marcoieni``
2025-06-07 07:05:47 +02:00
bors
1dc9ae6d10
Auto merge of #141910 - Kobzol:new-bors-try-branch-name-doc, r=marcoieni
...
Fix `create-docs-artifacts.sh` with new bors
The slashes in the branch name (`automation/bors/try`) were causing issues for this script (https://github.com/rust-lang/rust/actions/runs/15391908130/job/43303193243 ).
r? `@marcoieni`
try-job: `mingw-check*`
2025-06-07 03:21:09 +00:00
Jakub Beránek
b1acf6217a
Check documentation of bootstrap in PR CI
2025-06-05 13:13:59 +02:00
Matthias Krüger
2c5a5fecd8
Rollup merge of #141777 - Kobzol:dist-linux-alt-no-pgo-bolt, r=marcoieni
...
Do not run PGO/BOLT in x64 Linux alt builds
Should unblock https://github.com/rust-lang/rust/pull/131077 and also reduce our CI costs. It seems to run ~1.5h on the x64 larger runner (free runner runs out of disk space, sadly).
Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Utility.20of.20the.20.60dist-x86_64-linux-alt.60.20job/with/521324477 ).
r? ``@marcoieni``
try-job: `dist-x86_64-linux*`
2025-06-05 12:21:30 +02:00
Matthias Krüger
8ae7ca0a51
Rollup merge of #138699 - psumbera:solaris-ci-build3, r=marcoieni
...
build dist for x86_64-pc-solaris and sparcv9-sun-solaris
try-job: dist-sparcv9-solaris
try-job: dist-x86_64-solaris
try-job: dist-various-2
try-job: dist-x86_64-illumos
2025-06-04 07:54:32 +02:00
Matthias Krüger
72f60fb700
Rollup merge of #141914 - onur-ozkan:follow-ups, r=Kobzol
...
redesign stage 0 std follow-ups
Various follow-ups pointed out on Zulip during post-merge discussions of [redesign stage 0 std #119899 ](https://github.com/rust-lang/rust/pull/119899 ).
r? `@jieyouxu`
Fixes https://github.com/rust-lang/rust/issues/141902 .
Fixes https://github.com/rust-lang/rust/issues/141905 .
cc `@jyn514`
2025-06-03 15:00:34 +02:00
Matthias Krüger
5d32b5cad1
Rollup merge of #141861 - jieyouxu:windows-server-2025-20250527, r=Kobzol
...
Switch `x86_64-msvc-{1,2}` back to Windows Server 2025 images
New Windows Server 2025 images have been released (**20250527.1.0**). New images appear to not exhibit the lack-of-disk-space problem as tracked by rust-lang/rust#141022 , and the new runner image's storage capacity appears to be configured correctly.
Windows Server 2025 image version **20250527.1.0** release notes: <https://github.com/actions/runner-images/releases/tag/win25%2F20250527.1 >.
Resolves rust-lang/rust#141022 .
2025-06-03 15:00:33 +02:00
onur-ozkan
9505178d50
run x check on mingw-check-2
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-03 08:51:22 +00:00
Jakub Beránek
8f22a507c1
Use 4-core large disk runner for the alt job
2025-06-03 10:23:14 +02:00
bors
5d707b07e4
Auto merge of #141912 - Kobzol:rollup-wurlnsx, r=Kobzol
...
Rollup of 5 pull requests
Successful merges:
- rust-lang/rust#141767 (ci: use free runner for aarch64-gnu-llvm-19-1 PR job)
- rust-lang/rust#141858 (Fix typo in `StructuralPartialEq` docs)
- rust-lang/rust#141865 (Optionally don't steal the THIR)
- rust-lang/rust#141874 (add f16_epsilon and f128_epsilon diagnostic items)
- rust-lang/rust#141904 (test-float-parse: apply `cfg(not(bootstrap))`)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-02 19:35:39 +00:00
Jakub Beránek
2cb5b0deb9
Rollup merge of #141767 - marcoieni:free-pr-job, r=Kobzol
...
ci: use free runner for aarch64-gnu-llvm-19-1 PR job
2025-06-02 15:19:17 +02:00
Jakub Beránek
ec9e560a30
Fix create-docs-artifacts.sh with new bors
2025-06-02 15:08:39 +02:00
Jakub Beránek
28cf702292
Fix citool tests when executed ocally
...
They couldn't be executed locally before due to some additional environment reads.
2025-06-02 13:34:29 +02:00
bors
52882f6522
Auto merge of #119899 - onur-ozkan:redesign-stage0-std, r=albertlarsan68,jieyouxu,mark-simulacrum,kobzol,jyn514,Noratrieb,WaffleLapkin,RalfJung,bjorn3
...
redesign stage 0 std
### Summary
**Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/ **
This PR changes how bootstrap builds the stage 1 compiler by switching to precompiled stage 0 standard library instead of building the in-tree one. The goal was to update bootstrap to use the beta standard library at stage 0 rather than compiling it from source (see the motivation at https://github.com/rust-lang/compiler-team/issues/619 ).
Previously, to build a stage 1 compiler bootstrap followed this path:
```
download stage0 compiler -> build in-tree std -> compile stage1 compiler with in-tree std
```
With this PR, the new path is:
```
download stage0 compiler -> compile stage1 compiler with precompiled stage0 std
```
This also means that `cfg(bootstrap)`/`cfg(not(bootstrap))` is no longer needed for library development.
### Building "library"
Since stage0 `std` is no longer in-tree `x build/test/check library --stage 0` is now no-op. The minimum supported stage to build `std` is now 1. For the same reason, default stage values in the library profile is no longer 0.
Because building the in-tree library now requires a stage1 compiler, I highly recommend library developers to enable `download-rustc` to speed up compilation time.
<hr>
**Blog post: https://blog.rust-lang.org/inside-rust/2025/05/29/redesigning-the-initial-bootstrap-sequence/ **
If you encounter a bug or unexpected results please open a topic in the [#t-infra/bootstrap](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap ) Zulip channel or create a [bootstrap issue](https://github.com/rust-lang/rust/issues/new?template=bootstrap.md ).
(Review thread: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Review.20thread.3A.20stage.200.20redesign.20PR/with/508271433 )
~~Blocked on https://github.com/rust-lang/rust/pull/122709~~
try-job: dist-x86_64-linux
try-job: `x86_64-msvc*`
try-job: `x86_64-apple-*`
try-job: `aarch64-apple`
try-job: x86_64-gnu
try-job: `x86_64-gnu-llvm*`
2025-06-02 07:49:18 +00:00
Jieyou Xu
861ee47551
ci: switch x86_64-msvc-{1,2} back to Windows Server 2025 images
...
New Windows Server 2025 images have been released (20250527).
2025-06-01 22:47:36 +08:00
Jacob Pratt
c4ba6b00cc
Rollup merge of #141277 - RalfJung:miri-ci, r=oli-obk
...
Miri CI: test aarch64-apple-darwin in PRs instead of the x86_64 target
The aarch64 target is more important, and also this ensures we cover all main architectures (x86_64, i686, aarch64) in PR CI.
2025-06-01 00:35:51 +02:00
Matthias Krüger
ec39208527
Rollup merge of #141646 - jieyouxu:distcheck, r=Mark-Simulacrum
...
Document what `distcheck` is intended to exercise
Or at least attempt to.
Closes rust-lang/rust#141387 .
cc `@marcoieni` (re. [#t-infra/bootstrap > Speed up distcheck](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Speed.20up.20distcheck/with/520208870 ))
r? `@Mark-Simulacrum` (as you may have some clues about if this is accurate)
2025-05-31 18:51:48 +02:00
Jakub Beránek
033ea63639
Do not run PGO/BOLT in x64 Linux alt builds
...
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-05-30 20:35:27 +02:00
onur-ozkan
305890541f
fix fs bug on CI and update ming-check-1 Dockerfile
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:25 +03:00
onur-ozkan
2b780cd517
split mingw-check into two
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:05 +03:00
onur-ozkan
d28cb1ceac
use stage 1 for std on CI
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30 21:04:02 +03:00
MarcoIeni
7ad2c36e6f
ci: use free runner for aarch64-gnu-llvm-19-1 PR job
2025-05-30 15:08:59 +02:00
Matthias Krüger
4fce906481
Rollup merge of #141749 - Noratrieb:RUSTC_ACTUALLY_DO_NOT_RETRY_LINKER_ON_SEGFAULT, r=petrochenkov
...
Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hack
It looks like this was added in rust-lang/rust#40422 6 years ago because of issues with the MacOS linker. MacOS got a new linker in the meantime, so that should probably be resolved now. Hopefully.
r? petrochenkov
2025-05-30 13:39:55 +02:00
Petr Sumbera
0f1579b4bb
build dist for x86_64-pc-solaris and sparcv9-sun-solaris
2025-05-30 09:18:31 +00:00
Noratrieb
f1778074fb
Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hack
...
It looks like this was added 6 years ago because of issues with the
MacOS linker. MacOS got a new linker in the meantime, so that should
probably be resolved now. Hopefully.
2025-05-29 23:30:29 +02:00
Guillaume Gomez
a547af9ffc
Rollup merge of #141705 - GuillaumeGomez:eslint-tidy, r=Kobzol
...
Add eslint as part of `tidy` run
Rustdoc uses `eslint` to run lints on the JS files. Currently you need to run it by hand since it's not part of any `x.py` command. This PR makes it part of `test tidy`. However, to prevent having all rust developers to install `npm` and `eslint`, I made it optional: if `eslint` is not installed, then the check is simply skipped (but will tell that it is being skipped).
The second commit removes the manual checks from the docker file since `eslint` is run as part of tidy.
cc `@lolbinarycat,` [#t-rustdoc > eslint seems to only be run in CI](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/eslint.20seems.20to.20only.20be.20run.20in.20CI/with/520761477 )
2025-05-29 17:03:00 +02:00