Commit Graph

730 Commits

Author SHA1 Message Date
Arthur Zamarin
8034519193 dev-lang/rust: add 1.88.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-06-27 13:25:47 +03:00
Matt Jolly
c3de4c5479 dev-lang/rust: drop 1.88.0_beta20250526
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-23 22:19:39 +10:00
Matt Jolly
6405a36034 dev-lang/rust: add 1.88.0_beta20250622
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-23 22:19:38 +10:00
Joonas Niilola
dc7aaf972c dev-lang/rust: fix building '+wasm' on clang/lld system on 1.87.0
- sync changes from 1.86.0.

Bug: https://bugs.gentoo.org/953956
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-06-16 08:32:59 +03:00
Sam James
a980c12e45 dev-lang/rust: Stabilize 1.87.0-r1 ppc, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-16 03:56:29 +01:00
Sam James
11da5f3dbf dev-lang/rust: Stabilize 1.87.0-r1 sparc, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-16 03:31:45 +01:00
Sam James
8585ad2ec0 dev-lang/rust: Stabilize 1.87.0-r1 arm, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-16 03:31:40 +01:00
Arthur Zamarin
9ad223b6be dev-lang/rust: Stabilize 1.87.0-r1 ppc64, #958201
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-06-15 21:07:24 +03:00
Sam James
2ec24c3963 dev-lang/rust: Stabilize 1.87.0-r1 x86, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 17:11:05 +01:00
Sam James
082f00fb08 dev-lang/rust: Stabilize 1.87.0-r1 arm64, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 16:21:31 +01:00
Sam James
1aa2746c5d dev-lang/rust: Stabilize 1.87.0-r1 amd64, #958201
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 16:21:26 +01:00
Sam James
44e491c317 dev-lang/rust: Stabilize 1.86.0-r2 sparc, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 15:45:49 +01:00
Sam James
b5a8813ee5 dev-lang/rust: Stabilize 1.86.0-r2 ppc, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 15:45:45 +01:00
Sam James
472a821542 dev-lang/rust: Stabilize 1.86.0-r2 arm64, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 15:45:42 +01:00
Sam James
135afb3046 dev-lang/rust: Stabilize 1.85.1-r1 sparc, #954086
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-15 15:41:11 +01:00
Matt Jolly
2e362f657f dev-lang/rust*: add 1.88.0_beta20250603
Also includes sys-devel/rust-std

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-11 19:53:53 +10:00
Joonas Niilola
9dd4853cd6 dev-lang/rust: fix building '+wasm' on clang/lld system on 1.86.0
Closes: https://bugs.gentoo.org/953956
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-06-10 20:18:07 +03:00
Sam James
ac0c997648 dev-lang/rust: Stabilize 1.86.0-r2 amd64, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-05 23:38:26 +01:00
Sam James
81bc62596d dev-lang/rust: Stabilize 1.86.0-r2 arm, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-05 03:51:27 +01:00
Matt Jolly
a6799411f8 dev-lang/rust: move src_unpack for consistency
When adding / updating `src_unpack` to handle verify-sig and (our) patch
tarballs, it was placed in its correct "position" in most ebuilds, however
these ebuilds were not updated at the time.

Ensure that all rust ebuilds have `src_unpack` immediately before `src_prepare`.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 20:13:11 +10:00
Matt Jolly
8c4eca6e14 dev-lang/rust: actually fix verify sig
My previous fix didn't actually unpack tarballs at all.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 10:17:28 +10:00
Matt Jolly
bcfde367ab dev-lang/rust: fix verify-sig
When the patch tarballs were added the ebuilds were not updated to
ensure that only upstream-signed files are verified.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 10:06:47 +10:00
Matt Jolly
083de798b1 dev-lang/rust: alphabetise USE
Closes: https://github.com/gentoo/gentoo/pull/42370
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:57 +10:00
Matt Jolly
5a6c0539af dev-lang/rust: update maintainers
Matoro asked to be dropped in February, but this had not yet been
actioned.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:57 +10:00
Matt Jolly
18b187ecdd dev-lang/rust, sys-devel/rust-std: disable py3.10
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:57 +10:00
Matt Jolly
feae70ce5d dev-lang/rust: drop build x.py verbosity
After discussion with upstream, reduce the number of `v`s passed to
of our `x.py` invocations. There is no documentation on why `-vvv` was
added but it's suspected to be development troubleshooting shrapnel.

`-vv` is retained for tests where the extra verbosity may actually be
useful, however for most cases `-v` is suitable as it includes the
invocation along with any warnings or errors; we probably don't need
thousands of backtraces or diagnostic messages.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:56 +10:00
Matt Jolly
057daa0003 dev-lang/rust: stop using FILESDIR
files/ has been too big for a while now. Instead use the rust-patches
repository that was created to manage these patches.

No revbumps required - they were either done beforehand when we dropped
a bad patch _or_ are not required as the only additions are backported
build-time fixes (done in previous commits).

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:56 +10:00
Matt Jolly
388cbca2dd {dev-lang,sys-devel}/rust*: add 1.88.0_beta20250526
This is our first beta for 1.88.0, corresponding to beta.4 upstream.
It is also the first release where `beta` and `live` ebuilds get their
patches from gitweb rather than ${FILESDIR}.

Changes:

  - in line with upstream changes, `config.toml` has been renamed to
    `bootstrap.toml`.
  - `*bootstrap.toml` has `change-id = "ignore"` added to suppress
    warnings that are not useful to downstream.
  - after discussion with upstream `x.py` verbosity reduced to `-v`.
  - restrictions on building beta with only the last stable have been
    dropped, these can be restored if required.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:55 +10:00
Matt Jolly
eba3efd309 dev-lang/rust: add GCC 15 patches to older Rusts
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:55 +10:00
Matt Jolly
ae88df88b9 dev-lang/rust: drop i586 baseline patch
Rust upstream have identified issues with this patch relating to broken
x87 handling in LLVM.

Drop the patch and revbump all impacted revisions to ensure that this is
cleaned up.

Closes: https://www.github.com/gentoo/gentoo/pulls/40616
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:55 +10:00
Matt Jolly
66a491e379 dev-lang/rust: drop 1.85.0
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:55 +10:00
Matt Jolly
07d289b543 dev-lang/rust: "fix" too long comment
I'm sick of seeing the pkgcheck output even though this is objectively worse.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-06-04 07:36:54 +10:00
Sam James
30460038d3 dev-lang/rust: Stabilize 1.86.0-r1 ppc64, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-03 21:05:02 +01:00
Sam James
a9cdc9f76f dev-lang/rust: Stabilize 1.86.0-r1 x86, #957087
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-03 21:04:59 +01:00
Sam James
757266d34d dev-lang/rust: use system dev-libs/oniguruma
It's a good idea anyway but it also avoids the C23 issue. We should look
at unbundling the other bits but I'd like to avoid requiring libssh2
if we can help it unconditionally so punting on that for now w/
a comment.

Closes: https://bugs.gentoo.org/956044
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-17 17:43:33 +01:00
Sam James
eb4129a37e dev-lang/rust: ignore must_use noise in core_simd
There's a bunch of must_use inside of portable_simd's core_simd crate
which breaks the build.

Just mark the relevant files with `allow(unused_attributes)` as
there's loads of others, and I don't understand what a trait implementation
actually is (as my understanding would mean there's really many others).

This fixes building with RUSTFLAGS containing -C target-cpu=native
where native is znver4 at least.

Closes: https://bugs.gentoo.org/956018
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-17 16:07:04 +01:00
Sam James
67cbbd5b7e dev-lang/rust: fix 1.86 build w/ RUSTFLAGS for znver*
Closes: https://bugs.gentoo.org/953109
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-16 10:22:12 +01:00
Arthur Zamarin
d3ff2d3e73 dev-lang/rust: add 1.87.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-05-16 09:00:10 +03:00
Matt Jolly
dae6fd9e1c dev-lang/rust*; sys-devel/rust-std: drop 1.71.1
Rust 1.71.1 was retained due to games-strategy/ja2-stracciatella
being unable to build with any later version of Rust.

This package has been updated and as 1.71.1 is not in our
bootstrap path it is safe to remove (and remove that slot from
consideration in the eclass).

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-05-15 09:01:34 +10:00
Matt Jolly
51c2f3dff7 dev-lang/rust: add 1.87.0_beta20250430
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-05-06 11:54:36 +10:00
Randy Barlow
2271ff839b dev-lang/rust: Drop myself as a maintainer
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Part-of: https://github.com/gentoo/gentoo/pull/41908
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-02 22:33:21 +01:00
Sam James
b46e331589 dev-lang/rust: block dev-lang/rust:1.86 (botched slot)
Bug: https://bugs.gentoo.org/954230
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-23 16:50:26 +01:00
Sam James
ff82e6729b dev-lang/rust: Stabilize 1.85.1 arm, #954086
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-23 16:18:06 +01:00
Matt Jolly
fc7d053a20 dev-lang/rust: Drop unused patch
We've been saying that we'll update this for years now.

Clearly not happening; it can live in Git history.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-04-23 21:36:03 +10:00
Matt Jolly
3fc5094fb9 dev-lang/rust: add 1.87.0_beta20250420
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2025-04-23 21:36:02 +10:00
Arthur Zamarin
0376d86c29 dev-lang/rust: Stabilize 1.85.1 amd64, #954086
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-04-21 19:37:00 +03:00
Arthur Zamarin
02ae35cf31 dev-lang/rust: Stabilize 1.85.1 ppc, #954086
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-04-21 19:15:24 +03:00
Sam James
91d9e761c8 dev-lang/rust: Stabilize 1.85.1 x86, #954086
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-21 08:40:08 +01:00
blackteahamburger
e048265910 dev-lang/rust: allow building with mold
Closes: https://bugs.gentoo.org/952925
Signed-off-by: blackteahamburger <blackteahamburger@outlook.com>
Closes: https://github.com/gentoo/gentoo/pull/41387
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-20 09:00:21 +01:00
Sam James
95fd12667c dev-lang/rust: Stabilize 1.85.1 ppc64, #954086
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-19 23:18:19 +01:00