Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] making rust-bin ordered first in virtual/rust
Date: Mon, 17 Jan 2022 23:24:34
Message-Id: ffaa5fabecc42c1a5e06003741c2bf7afc65ac1f.camel@gentoo.org
1 Hi,
2
3 I've been approached multiple times with that request, and a lot of
4 time I see new users completely destroyed by rust build time and disk
5 space requirements.
6
7 WDYT about switching order of rusts in a virtual?
8
9 RDEPEND="|| (
10 ~dev-lang/rust-${PV}
11 ~dev-lang/rust-bin-${PV}
12 )"
13
14
15 becomes
16
17 RDEPEND="|| (
18 ~dev-lang/rust-bin-${PV}
19 ~dev-lang/rust-${PV}
20 )"
21
22
23 Existing installs should be unaffected ofc.
24 But portage may prefer to depclean rust and not rust-bin if both are
25 present.
26 Users who wish to use source version at all times can just add it to
27 world file.
28
29 I see both positives and negatives of doing that, but would like to
30 reach out to community first.
31
32 Thanks!
33
34 --
35 Georgy

Replies