From: Sam James <sam@gentoo.org>
To: kangie@gentoo.org
Cc: gentoo-dev@lists.gentoo.org, rust@gentoo.org
Subject: Re: [gentoo-dev] [PATCH 00/10] new eclass: rust; slotting dev-lang/rust{-bin}
Date: Thu, 07 Nov 2024 16:49:53 +0000 [thread overview]
Message-ID: <878qtv3s5q.fsf@gentoo.org> (raw)
In-Reply-To: <20241106112510.1518157-1-kangie@gentoo.org> (kangie@gentoo.org's message of "Wed, 6 Nov 2024 21:25:00 +1000")
kangie@gentoo.org writes:
> From: Matt Jolly <kangie@gentoo.org>
>
> This patchset slots Rust, adds `rust.eclass`, a helper eclass for slotted Rust,
> and updates `cargo.eclass` to take advantage of the new slotted Rust, requiring a
> revbump of dependent packages.
Thanks for doing this.
As we've already discussed privately extensively as well as in
#gentoo-rust and in part on the PR, I think it's fine to go in once I've
done a few more passes to satisfy any nits, and all my comments have
been addressed.
I agree that the big-bang move is sort of necessary here (as regrettable
as that may be) and we just need to be prepared to be on-call to handle
any issues in the period after merging.
>
> The intent is to immediately deprecate and shortly remove legacy Rust slots
> and the virtual package which do nothing but inflict pain on developers and users.
>
> There are several example ebuilds using the new eclass attached.
>
> These patches, along with a mega-commit containing required revbumps for
> every cargo.eclass ebuild (a vast majority of the rust ecosystem) are
> also available for comment as a PR. The intent is to merge the PR when
> all cargo eclass packages have been revbumped and tested and the eclass
> has been reviewed.
>
> https://github.com/gentoo/gentoo/pull/39218
>
> I'm about 100 cargo eclass ebuilds deep at this point. Please do not
> merge anything that uses the Cargo eclass (or any new Rust packages,
> really) until this is (hopefully) merged in a few days.
>
> Some example ebuilds have been included to demonstrate usage of
> the eclass for anything more complex than just `inherit rust`.
>
> Please let me know if you have any concerns or feedback and I'll address
> them promptly.
>
> Cheers,
>
> Matt
>
> Matt Jolly (10):
> rust.eclass: Introduce new eclass for slotted Rust
> cargo: update for rust eclass
> dev-lang/rust: port to llvm-r1 and slot (-r100)
> profiles/arch/mips: use.mask system-llvm on rust-1.71.1-r100
> dev-lang/rust-bin: llvm-r1 and slot (-r100)
> dev-lang/rust{,-bin}: -r100: Drop the `profiler` USE.
> www-client/chromium: example chromium with slotted rust
> www-client/firefox: add 132.0-r1 - rust and llvm-r1 eclasses
> gnome-base/librsvg: rust eclass
> net-libs/rustls-ffi: rust slot
>
> dev-lang/rust-bin/rust-bin-1.71.1-r100.ebuild | 233 +++
> dev-lang/rust-bin/rust-bin-1.74.1-r100.ebuild | 243 +++
> dev-lang/rust-bin/rust-bin-1.75.0-r100.ebuild | 243 +++
> dev-lang/rust-bin/rust-bin-1.77.1-r100.ebuild | 245 +++
> dev-lang/rust-bin/rust-bin-1.79.0-r100.ebuild | 248 +++
> dev-lang/rust-bin/rust-bin-1.80.1-r100.ebuild | 252 +++
> dev-lang/rust-bin/rust-bin-1.81.0-r100.ebuild | 249 +++
> dev-lang/rust-bin/rust-bin-1.82.0-r100.ebuild | 250 +++
> dev-lang/rust-common/Manifest | 4 +
> .../rust-common/rust-common-1.81.0.ebuild | 42 +
> .../rust-common/rust-common-1.82.0.ebuild | 42 +
> dev-lang/rust/rust-1.71.1-r100.ebuild | 726 +++++++++
> dev-lang/rust/rust-1.74.1-r100.ebuild | 762 +++++++++
> dev-lang/rust/rust-1.75.0-r100.ebuild | 765 +++++++++
> dev-lang/rust/rust-1.77.1-r100.ebuild | 764 +++++++++
> dev-lang/rust/rust-1.79.0-r100.ebuild | 767 +++++++++
> dev-lang/rust/rust-1.80.1-r100.ebuild | 765 +++++++++
> dev-lang/rust/rust-1.81.0-r100.ebuild | 766 +++++++++
> dev-lang/rust/rust-1.82.0-r100.ebuild | 773 +++++++++
> eclass/cargo.eclass | 46 +-
> eclass/rust.eclass | 480 ++++++
> gnome-base/librsvg/librsvg-2.58.2-r1.ebuild | 421 +++++
> .../rustls-ffi/rustls-ffi-0.13.0-r1.ebuild | 107 ++
> profiles/arch/mips/package.use.mask | 4 +
> .../chromium/chromium-130.0.6723.91-r1.ebuild | 1387 +++++++++++++++++
> www-client/firefox/firefox-132.0-r1.ebuild | 1341 ++++++++++++++++
> 26 files changed, 11912 insertions(+), 13 deletions(-)
> create mode 100644 dev-lang/rust-bin/rust-bin-1.71.1-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.74.1-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.75.0-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.77.1-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.79.0-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.80.1-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.81.0-r100.ebuild
> create mode 100644 dev-lang/rust-bin/rust-bin-1.82.0-r100.ebuild
> create mode 100644 dev-lang/rust-common/Manifest
> create mode 100644 dev-lang/rust-common/rust-common-1.81.0.ebuild
> create mode 100644 dev-lang/rust-common/rust-common-1.82.0.ebuild
> create mode 100644 dev-lang/rust/rust-1.71.1-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.74.1-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.75.0-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.77.1-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.79.0-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.80.1-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.81.0-r100.ebuild
> create mode 100644 dev-lang/rust/rust-1.82.0-r100.ebuild
> create mode 100644 eclass/rust.eclass
> create mode 100644 gnome-base/librsvg/librsvg-2.58.2-r1.ebuild
> create mode 100644 net-libs/rustls-ffi/rustls-ffi-0.13.0-r1.ebuild
> create mode 100644 www-client/chromium/chromium-130.0.6723.91-r1.ebuild
> create mode 100644 www-client/firefox/firefox-132.0-r1.ebuild
prev parent reply other threads:[~2024-11-07 16:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 11:25 [gentoo-dev] [PATCH 00/10] new eclass: rust; slotting dev-lang/rust{-bin} kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 01/10] rust.eclass: Introduce new eclass for slotted Rust kangie
2024-11-07 17:56 ` Joonas Niilola
2024-11-06 11:25 ` [gentoo-dev] [PATCH 02/10] cargo: update for rust eclass kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 03/10] dev-lang/rust: port to llvm-r1 and slot (-r100) kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 04/10] profiles/arch/mips: use.mask system-llvm on rust-1.71.1-r100 kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 05/10] dev-lang/rust-bin: llvm-r1 and slot (-r100) kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 06/10] dev-lang/rust{,-bin}: -r100: Drop the `profiler` USE kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 07/10] www-client/chromium: example chromium with slotted rust kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 08/10] www-client/firefox: add 132.0-r1 - rust and llvm-r1 eclasses kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 09/10] gnome-base/librsvg: rust eclass kangie
2024-11-06 11:25 ` [gentoo-dev] [PATCH 10/10] net-libs/rustls-ffi: rust slot kangie
2024-11-07 16:49 ` Sam James [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878qtv3s5q.fsf@gentoo.org \
--to=sam@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=kangie@gentoo.org \
--cc=rust@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox