On 18/01/2022 00.24, Georgy Yakovlev wrote:
Hi,

I've been approached multiple times with that request, and a lot of
time I see new users completely destroyed by rust build time and disk
space requirements.

WDYT about switching order of rusts in a virtual?

RDEPEND="|| (
         ~dev-lang/rust-${PV}
         ~dev-lang/rust-bin-${PV}
)"


becomes

RDEPEND="|| (
         ~dev-lang/rust-bin-${PV}
        ~dev-lang/rust-${PV}
)"


Existing installs should be unaffected ofc.
But portage may prefer to depclean rust and not rust-bin if both are
present.
Users who wish to use source version at all times can just add it to
world file.

I see both positives and negatives of doing that, but would like to
reach out to community first.

I would prefer to have source based one first.

Ideally we'd have some way to mark binary packages with new EAPI and have FEATURES flag like 'prefer-binary' and go with -bin in case there's || ( ) dependencies list, regardless of the original order in virtual. This way everyone could be happy and not choose one workflow over another.

-- Piotr.

Reply via email to