Commit Graph

2758 Commits

Author SHA1 Message Date
bors a80d39a086 Auto merge of #149504 - mati865:i686-pc-windows-gnullvm, r=jieyouxu
Bring back i686-pc-windows-gnullvm target

rust-lang/rust#148751 inadvertently removed i686-pc-windows-gnullvm std build when migrating to native CI runners. Since this change was not agreed upon, we should bring back prebuilt std builds for that target.

There are a few runners that could do it: dist-aarch64-llvm-mingw, dist-x86_64-llvm-mingw, dist-various-1 and dist-various-2.
dist-x86_64-llvm-mingw already takes slightly over 2 hours, so the faster dist-aarch64-llvm-mingw is a better choice.
We can also use dist-various-x job, they don't have llvm-mingw toolchain, but it's trivial to install one.
2025-12-02 10:42:35 +00:00
Stuart Cook 5afd8ff8df Rollup merge of #149516 - mati865:no-msys2, r=jieyouxu
Stop adding MSYS2 to PATH

Rust no longer requires MSYS2 provided tools like make.
2025-12-02 13:56:32 +11:00
Mateusz Mikuła 662192a878 Stop adding MSYS2 to PATH
Rust no longer requires MSYS2 tools like make.
2025-12-01 18:37:33 +01:00
Mateusz Mikuła 9498f21277 Bring back i686-pc-windows-gnullvm target 2025-12-01 16:46:14 +01:00
Mateusz Mikuła 57a1000f13 Mark windows-gnu* as lacking build with assertions 2025-12-01 16:02:08 +01:00
Mateusz Mikuła ab169ed983 Build gnullvm toolchains on Windows natively 2025-11-23 21:23:52 +01:00
Alex Crichton 4c6e41cb53 Update wasm-related dependencies in CI
* Update to wasi-sdk-29 released today
* Update to Wasmtime 38.0.4 which was released a week or so ago
2025-11-18 10:52:19 -08:00
bors 66bc5a43e5 Auto merge of #148763 - yotamofek:use-yarn, r=Kobzol
Use `yarn` instead of `npm` for JS/TS dependencies

Building on `@lolbinarycat` 's excellent work ( rust-lang/rust#148672 ).

`npm` apparently has certain edge-cases where it doesn't actually respect the lockfile it's fed, which has led to at least one [CI breakage](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/CI.20keeps.20failing.20because.20of.20npm.20error/near/554420543).

`yarn` seems to not suffer from those same issues, and also has a `--frozen` flag for its `install` command
2025-11-17 11:04:04 +00:00
Yotam Ofek 3e089f2b3c Install yarn in tidy dockerfile 2025-11-17 10:58:17 +02:00
Ben Kimock 64f0579973 Run wasm32-wasip1 codegen tests in PR CI 2025-11-16 13:44:06 -05:00
Stuart Cook 3a4a738c9f Rollup merge of #148880 - yotamofek:pr/dockerfile-eslint-install, r=Kobzol,GuillaumeGomez
Remove explicit install of `eslint` inside of `tidy`'s Dockerfile

`tidy` will already install it (when needed) due to it being in `package.json`

With this change, we don't have the version of `eslint` specific in two different places :)

(this was added in rust-lang/rust#141705 , before `tidy` gained the ability to run `npm install`, and is not needed anymore)
2025-11-13 11:57:11 +11:00
Yotam Ofek c09185c8ac Remove explicit install of eslint inside of tidy's Dockerfile
`tidy` will already install it (when needed) due to it being in `package.json`
2025-11-12 21:39:58 +02:00
Redddy 4eb0beb3d9 Rename master branch references to main 2025-11-10 21:48:34 +09:00
Jakub Beránek bc0126d451 Change default branch to main 2025-11-10 10:21:34 +01:00
bors 6647be9364 Auto merge of #148435 - ZhongyaoChen:promote-riscv64a23-to-tier2, r=jieyouxu
Implement the MCP 932: Promote riscv64a23-unknown-linux-gnu to Tier 2

Implement the [MCP 932](https://github.com/rust-lang/compiler-team/issues/932): Promote riscv64a23-unknown-linux-gnu to Tier 2 without host tools.

Closes rust-lang/rust#148353.

Changes:
- Update target tier from 3 to 2 in target specification
- Update platform documentation
- Add CI/CD support for automatic building and distribution via rustup

r? jieyouxu
cc `@davidtwco` `@Noratrieb`
2025-11-09 19:57:56 +00:00
bors ceb7df7e6f Auto merge of #147029 - neuschaefer:memchr-2.7.6, r=marcoieni
Update memchr to 2.7.6

memchr 2.7.6 contains a bugfix for aarch64_be.

Note: I'm not sure about how dependency updates are managed in rust.git. If something should go through another branch or will happen automatically, please let me know.
2025-11-07 21:58:38 +00:00
bors 843f8ce2eb Auto merge of #147798 - Zalathar:uutils, r=jieyouxu
ci: Switch back to default coreutils (uutils) after libffi-sys bump

Now that Miri has updated to the latest `libffi-sys`, we should be able to remove the GNU coreutils workaround, and switch back to the default coreutils (uutils) in the runners using Ubuntu 25.10 images.

If we encounter any other uutils compatibility problems in the future, they should hopefully be easier to trace back to specific changes.

- https://github.com/rust-lang/rust/pull/147581
- https://github.com/rust-lang/miri/pull/4634
- https://github.com/rust-lang/rust/pull/147744

Closes rust-lang/rust#147556.
2025-11-07 13:49:36 +00:00
Miguel Ojeda fd1112557e CI: rfl: move to temporary commit to support -Cjump-tables=n
Link: https://github.com/rust-lang/rust/pull/145974
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-11-03 14:20:04 -06:00
Zhongyao Chen 1af9b63c7b Implement the MCP 932: Promote riscv64a23-unknown-linux-gnu to Tier 2 without host tools
Changes:
- Update target tier from 3 to 2 in target specification
- Update platform documentation
- Add CI/CD support for automatic building and distribution via rustup
2025-11-03 17:29:51 +08:00
bors 7878a91944 Auto merge of #148420 - Zalathar:rollup-1rrbzk7, r=Zalathar
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#144194 (Provide additional context to errors involving const traits)
 - rust-lang/rust#148232 (ci: add runners for vanilla LLVM 21)
 - rust-lang/rust#148240 (rustc_codegen: fix musttail returns for cast/indirect ABIs)
 - rust-lang/rust#148247 (Remove a special case and move another one out of reachable_non_generics)
 - rust-lang/rust#148370 (Point at inner item when it uses generic type param from outer item or `Self`)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-11-03 02:52:00 +00:00
Stuart Cook a44b547c3d Rollup merge of #148232 - cuviper:ci-llvm-21, r=Mark-Simulacrum
ci: add runners for vanilla LLVM 21

Ubuntu 25.10 has `llvm-21` packages that we can test with.
The `Dockerfile` is otherwise the same as the `llvm-20` runners.
2025-11-03 11:52:39 +11:00
Jakub Beránek ae830ef494 Generalize branch name in scripts 2025-11-02 11:15:55 +01:00
Jakub Beránek d3473f0741 Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
Matthias Krüger 03dc65653c Rollup merge of #142682 - Gankra:update_musl_1.2.5, r=wesleywiser
Update bundled musl to 1.2.5

Update the bundled musl library from 1.2.3 to the 1.2.5 release from February 29, 2024.

* mcp: https://github.com/rust-lang/compiler-team/issues/887
* blog: https://github.com/rust-lang/blog.rust-lang.org/pull/1641
* Prior update: rust-lang/rust#107129
* [musl releases page](https://musl.libc.org/releases.html)

--------

This is a rebase of

* rust-lang/rust#125692

Which removes the second speculative commit which ended up not panning out.

I've added my own second commit that updates all other places I could find that referenced musl 1.2.3 in the codebase.

try-job: dist-x86_64-musl
try-job: dist-i586-gnu-i586-i686-musl
try-job: dist-x86_64-linux
2025-11-01 08:25:44 +01:00
Zalathar 51f3cab3b9 Always print a signed percentage in job duration changes 2025-10-29 12:05:08 +11:00
Josh Stone 46a474bbb8 ci: add runners for vanilla LLVM 21
Ubuntu 25.10 has `llvm-21` packages that we can test with.
The `Dockerfile` is otherwise the same as the `llvm-20` runners.
2025-10-28 15:27:55 -07:00
WANG Rui 87c66c93ca ci: loongarch64: use medium code model to avoid relocation overflows
The LoongArch C/C++ cross toolchain defaults to the `normal` code model, which
can cause relocation overflows when linking LLVM after upgrading to verion 22.
This change uses the `medium`code model for `loongarch64-linux-gnu` and
`loongarch64-linux-musl` builds to avoid these linking errors.
2025-10-27 09:44:16 +08:00
Zalathar 439431aa62 ci: Switch back to default coreutils (uutils) after libffi-sys bump 2025-10-17 14:03:14 +11:00
bors e100792918 Auto merge of #147662 - Zalathar:rollup-j8ci0f2, r=Zalathar
Rollup of 12 pull requests

Successful merges:

 - rust-lang/rust#146277 (Enable `u64` limbs in `core::num::bignum`)
 - rust-lang/rust#146976 (constify basic Clone impls)
 - rust-lang/rust#147249 (Do two passes of `handle_opaque_type_uses_next`)
 - rust-lang/rust#147266 (fix 2 search graph bugs)
 - rust-lang/rust#147497 (`proc_macro` cleanups (3/N))
 - rust-lang/rust#147546 (Suppress unused_parens for labeled break)
 - rust-lang/rust#147548 (Fix ICE for never pattern as closure parameters)
 - rust-lang/rust#147594 (std: implement `pal::os::exit` for VEXos)
 - rust-lang/rust#147596 (Adjust the Arm targets in CI to reflect latest changes)
 - rust-lang/rust#147607 (GVN: Invalidate derefs at loop headers)
 - rust-lang/rust#147620 (Avoid redundant UB check in RangeFrom slice indexing)
 - rust-lang/rust#147647 (Hide vendoring and copyright in GHA group)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-10-14 12:32:31 +00:00
Stuart Cook 2ad61521d7 Rollup merge of #147596 - thejpster:build-new-arm-tier2-targets, r=Mark-Simulacrum
Adjust the Arm targets in CI to reflect latest changes

* Adds build of `armv7a-none-eabihf` (https://github.com/rust-lang/rust/pull/146522)
* Adds build of `armv8r-none-eabihf` (https://github.com/rust-lang/rust/pull/146520)
* Drops build of `armeb*-none-*` (https://github.com/rust-lang/rust/pull/146523)

I wasn't sure why `armv7a-none-eabihf` was missing from the build-manifest program, but `armv8r-none-eabihf` was there, as they were both Tier 3 targets up until very recently. So, I added it, but that might be wrong.
2025-10-14 16:31:01 +11:00
Guillaume Gomez 66b7ed5d7a Re-enable libgccjit download in CI 2025-10-13 15:20:49 +02:00
Guillaume Gomez f80a3b0b3d Ignore failing gcc backend testsuite directly in Dockerfile 2025-10-13 15:20:49 +02:00
Guillaume Gomez 5b9ca10c75 Disable debug assertions 2025-10-13 15:20:49 +02:00
Guillaume Gomez 287e458dae Run rust tests with GCC backend 2025-10-13 15:20:48 +02:00
Matthias Krüger 13ef05d52f Rollup merge of #147592 - Shunpoco:add-tidy-to-check, r=Zalathar
Add tidy to the target of ./x check

## Context
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/tidy.20isn't.20in.20.2E.2Fx.20check/with/544323712

Currently `tidy` (src/tools/tidy) is not included in the list of `./x check`. It means that rust-analyzer doesn't work for codes in the directory if you use `./x check` as the analyzer on your IDE.

## Change

This PR adds src/tools/tidy into the target of `./x check`. It enables rust-analyzer highlight errors/warns on all codes in the directory.

Note that since tidy is implicitly checked by `./x test tidy`, this new check is off by default.
2025-10-12 19:07:47 +02:00
Jonathan 'theJPster' Pallant fef16d2cba Change armv7a-none-eabihf CFLAGS to assume only single-precision FPU
Not all ARMv7-A CPUs have a double-precision FPU. So adjust the CFLAGS
from `+vfpv3` (which assumes 32 double-precision registers) to `+fp`
(which only assumes 16 double-precision registers).
2025-10-12 17:52:57 +01:00
Jonathan 'theJPster' Pallant 9b91c3e7ef Add CFLAGS for armv8r-none-eabihf 2025-10-12 17:47:20 +01:00
Shunpoco d70857a1e0 Add tidy into ./x check
This commit adds src/tools/tidy into `./x check`. It enables rust-analyzer hightlights errors/warns on all codes in src/tools/tidy.
Since tidy is implicitly checked by `./x test tidy`, this new check is off by default.
2025-10-12 08:49:39 +01:00
Jonathan 'theJPster' Pallant cc96d3f2f8 Adjust the Arm targets in CI to reflect latest changes
* Adds armv7a-none-eabihf (https://github.com/rust-lang/rust/pull/146522)
* Adds armv8r-none-eabihf (https://github.com/rust-lang/rust/pull/146520)
* Drops armeb*-none-* (https://github.com/rust-lang/rust/pull/146523)
2025-10-12 00:00:40 +01:00
Zalathar 7f0adce34a ci: Use GNU coreutils to work around a libffi-sys build failure 2025-10-11 16:29:15 +11:00
Zalathar 0be0a0a8d2 Do x check on various bootstrap tools in CI 2025-10-09 20:00:30 +11:00
Aria Desires b64cdd0f59 bump musl-cross-make commit to get fixes 2025-10-06 21:24:49 -04:00
Aria Desires 303a828533 pin all musl deconfigs to 1.2.5 2025-10-06 21:21:07 -04:00
Aria Desires 52513ab435 bump powerpc64le-unknown-linux-musl's musl to 1.2.5 2025-10-03 10:00:55 -04:00
est31 13ee69ddfb Update bundled musl to 1.2.5 2025-10-03 10:00:52 -04:00
bors dd091003ac Auto merge of #145898 - lolbinarycat:rustdoc-search-trait-parent, r=GuillaumeGomez,notriddle
If a trait item appears in rustdoc search, hide the corrosponding impl items

fixes rust-lang/rust#138251

cc `@notriddle`
2025-10-03 08:43:43 +00:00
Michael Howell c7d6857f75 rustdoc: use same stage for all pr check docs 2025-10-02 15:29:36 -05:00
Matthias Krüger f4dcfa6ddb Rollup merge of #147233 - GuillaumeGomez:citool-submodule-init, r=Kobzol
Initialize llvm submodule if not already the case to run citool

While working on https://github.com/rust-lang/rust/pull/146414, I ran the following command (to run CI docker locally):

```
cargo run --manifest-path src/ci/citool/Cargo.toml run-local --type pr x86_64-gnu-gcc
```

However, since I didn't have `src/llvm` submodule initialized, it failed. Apparently it's a common issue for people using this tool so this PR removes this small inconvenience.

r? ``@Kobzol``
2025-10-02 10:27:53 +02:00
Guillaume Gomez 4baf9208a1 Initialize llvm submodule if not already the case to run citool 2025-10-01 17:38:36 +02:00
Guillaume Gomez 69619535d9 Switch citool to 2024 edition 2025-10-01 17:36:53 +02:00