From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5485C158042 for ; Thu, 7 Nov 2024 17:56:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91B19E08A4; Thu, 7 Nov 2024 17:56:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C0DEE03EC for ; Thu, 7 Nov 2024 17:56:53 +0000 (UTC) Message-ID: <7036bc1a-9c9d-47bf-b6aa-be1f6707e345@gentoo.org> Date: Thu, 7 Nov 2024 19:56:36 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-dev] [PATCH 01/10] rust.eclass: Introduce new eclass for slotted Rust To: gentoo-dev@lists.gentoo.org References: <20241106112510.1518157-1-kangie@gentoo.org> <20241106112510.1518157-2-kangie@gentoo.org> Content-Language: en-US From: Joonas Niilola In-Reply-To: <20241106112510.1518157-2-kangie@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0rwe40xnMmx2M93135Ms2ALS" X-Archives-Salt: f3f34e22-39c1-4aad-832f-5de97fcfa2f3 X-Archives-Hash: 051e9cc0c4ca6958eef963a54770421e This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0rwe40xnMmx2M93135Ms2ALS Content-Type: multipart/mixed; boundary="------------npCrIyFbkX9raLBz0DVKN1wn"; protected-headers="v1" From: Joonas Niilola To: gentoo-dev@lists.gentoo.org Message-ID: <7036bc1a-9c9d-47bf-b6aa-be1f6707e345@gentoo.org> Subject: Re: [gentoo-dev] [PATCH 01/10] rust.eclass: Introduce new eclass for slotted Rust References: <20241106112510.1518157-1-kangie@gentoo.org> <20241106112510.1518157-2-kangie@gentoo.org> In-Reply-To: <20241106112510.1518157-2-kangie@gentoo.org> --------------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=3D() > + RUST_DEPS+=3D( "|| (" ) > + for slot in "${_RUST_SLOTS[@]}"; do > + if [[ -n ${usedep} ]]; then > + RUST_DEPS+=3D( "dev-lang/rust:${slot}[${usedep}] dev-lang/rust-bin:= ${slot}[${usedep}]" ) > + else > + RUST_DEPS+=3D( "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-- --------------0rwe40xnMmx2M93135Ms2ALS Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- iQGSBAEBCgB9FiEEltRJ9L6XRmDQCngHc4OUK43AaWIFAmcs/1VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk2 RDQ0OUY0QkU5NzQ2NjBEMDBBNzgwNzczODM5NDJCOERDMDY5NjIACgkQc4OUK43A aWJGNAf3Qhpth5Ar7c1d95qXR6O75veg2GgBIhp/3hHKP93NXjnRDUlkvb7YQSEU KGSCtt80d9oZKpH2/S8px0OtsGxGjs2VJkUmf4nP+UmtWuJjimfmamCaAacjVxKj dPoZMwuWZzp4iWo7FbqDRUZ+KPKbTkoNGmF0cvjTymKtghgQywhSd3CsZZbufVFf hqWV/mzDdD2udD2eQqgTDsfE5gN2GfgexfyXjdV2PE4JK9tZERsvvfkGGqajiqcJ YuDkLrqNm2Pn57n6wq2i5hPaRLtwWJdlAAcOZs8thK/N3kVNZT3Q78D48pOcWM8U uA7wRBv5nGgtEJhQ9uYE3iAhw+iZ =ejce -----END PGP SIGNATURE----- --------------0rwe40xnMmx2M93135Ms2ALS--