I'm currently using ~dev-lang/rust-bin:1.56.1::gentoo. I am in need of the Rust component called rust-src to use with my language server rust-analyzer. Currently there is no use flag to enable this component for neither rust nor rust-bin. I would like to suggest adding a new USE flag, USE=rust-src, to both dev-lang/rust and dev-lang/rust-bin for optionally enabling this rust component in the Portage maintained install of Rust. This makes sense since both Rust components rls and rust-fmt already have their own use flags. My current solution is to install a copy of Rust in my home directory through `rustup`, and then install the rust-src component via `rustup component add rust-src`. I would like for Portage to exclusively handle my Rust installs and get rid of the Rust install in my home directory. From 'https://rust-lang.github.io/rustup/concepts/components.html': rust-src — This is a local copy of the source code of the Rust standard library. This can be used by some tools, such as RLS, to provide auto-completion for functions within the standard library; Miri which is a Rust interpreter; and Cargo's experimental build-std feature, which allows you to rebuild the standard library locally. All love, Mikael Henriksson
Looks like a duplicate of https://bugs.gentoo.org/819786
please subscribe to https://bugs.gentoo.org/819786 for tracking progress of this request *** This bug has been marked as a duplicate of bug 819786 ***