Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] How to switch from rust to rust-bin?
Date: Sun, 06 Sep 2020 07:49:04
Message-Id: 20200906074824.GA20407@waltdnes.org
1 When updating my refurbished Lenovo notebook, I saw that "rust" was
2 being pulled in as a dependency by system-bootstrap. My initial
3 reaction was WTF? I'm sure the kernel devs will say "because we said
4 so... neener... neener". I don't want to fight that argument.
5
6 Just like Mozilla's other product, rust is an unbelievably bloated
7 monstrosity. My 3-gig RAM notebook, with a core2 cpu forced to max
8 (2.534 ghz) took 3 hours 51 minutes to build rust-1.45.2... ouch! This
9 compares to 2 hours 10 minutes for gcc-9.3, and 13 minutes for x265-3.4.
10
11 I notice that there is a "rust-bin" ebuild present. If nothing else,
12 I'd like to switch over to that to save the notebook from unnecessary
13 grinding when rust updates. What's the procedure for selecting it?
14 I've already tried the obvious...
15
16 [thimk][root][~] eselect rust list
17 Available Rust versions:
18 [1] rust-1.45.2 *
19
20
21 "emerge -pv rust-bin" gives...
22
23 [ebuild N ] dev-lang/rust-bin-1.45.2:stable::gentoo USE="-clippy -doc -rls -rustfmt" CPU_FLAGS_X86="sse2" 115,367 KiB
24
25 I *HOPE* that it's as simple as emerging rust-bin, and eselect-ing
26 it, but I want to check here before I risk breaking my system with
27 wild guesses.
28
29 --
30 Walter Dnes <waltdnes@××××××××.org>
31 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] How to switch from rust to rust-bin? Dale <rdalek1967@×××××.com>
Re: [gentoo-user] How to switch from rust to rust-bin? Jorge Almeida <jjalmeida@×××××.com>
[gentoo-user] Re: How to switch from rust to rust-bin? Nikos Chantziaras <realnc@×××××.com>