• Re: [gentoo-dev] [PATCH 01/10] rust.eclass: Introduce new eclass for sl

    From Joonas Niilola@21:1/5 to kangie@gentoo.org on Thu Nov 7 19:00:02 2024
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------npCrIyFbkX9raLBz0DVKN1wn
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 6.11.2024 13.25, kangie@gentoo.org wrote:
    + local RUST_DEPS=()
    + RUST_DEPS+=( "|| (" )
    + for slot in "${_RUST_SLOTS[@]}"; do
    + if [[ -n ${usedep} ]]; then
    + RUST_DEPS+=( "dev-lang/rust:${slot}[${usedep}] dev-lang/rust-bin:${slot}[${usedep}]" )
    + else
    + RUST_DEPS+=( "dev-lang/rust:${slot} dev-lang/rust-bin:${slot}" )

    I already pointed this out, but as a reminder: In my opinion we should primarily prefer the -bin variant over source-built, like is currently
    done with the virtual. It's a more beginner-friendly choice, and overall
    better for rust developers who don't use Gentoo but want to reproduce
    something via e.g. docker, to get the environment up and running faster.

    -- juippis

    --------------npCrIyFbkX9raLBz0DVKN1wn--

    -----BEGIN PGP SIGNATURE-----

    iQGSBAEBCgB9FiEEltRJ9L6XRmDQCngHc4OUK43AaWIFAmcs/1VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk2 RDQ0OUY0QkU5NzQ2NjBEMDBBNzgwNzczODM5NDJCOERDMDY5NjIACgkQc4OUK43A aWJGNAf3Qhpth5Ar7c1d95qXR6O75veg2GgBIhp/3hHKP93NXjnRDUlkvb7YQSEU KGSCtt80d9oZKpH2/S8px0OtsGxGjs2VJkUmf4nP+UmtWuJjimfmamCaAacjVxKj dPoZMwuWZzp4iWo7FbqDRUZ+KPKbTkoNGmF0cvjTymKtghgQywhSd3CsZZbufVFf hqWV/mzDdD2udD2eQqgTDsfE5gN2GfgexfyXjdV2PE4JK9tZERsvvfkGGqajiqcJ YuDkLrqNm2Pn57n6wq2i5hPaRLtwWJdlAAcOZs8thK/N3kVNZT3Q78D48pOcWM8U uA7wRBv5nGgtEJhQ9uYE3iAhw+iZ
    =ejce
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)