public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/3] rust-toolchain.eclass: cleanups and mips64el support
@ 2023-05-31 12:59 WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 1/3] rust-toolchain.eclass: cosmetic cleanups WANG Xuerui
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: WANG Xuerui @ 2023-05-31 12:59 UTC (permalink / raw
  To: gentoo-dev; +Cc: rust, WANG Xuerui

Hi,

This is https://github.com/gentoo/gentoo/pull/31241 and specific to
packaging of Rust (the compiler itself), but I'm also sending here for
wider review (e.g. in case I messed up some ports but didn't realize).

WANG Xuerui (3):
  rust-toolchain.eclass: cosmetic cleanups
  rust-toolchain.eclass: add support for mips64el platforms
  rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and
    endianness

 dev-lang/rust-bin/Manifest                  | 12 ++++
 dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.68.1.ebuild    |  2 +-
 dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.69.0.ebuild    |  2 +-
 dev-lang/rust/Manifest                      | 10 +++
 dev-lang/rust/rust-1.65.0.ebuild            |  2 +-
 dev-lang/rust/rust-1.66.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.67.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.68.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.68.2.ebuild            |  2 +-
 dev-lang/rust/rust-1.69.0-r1.ebuild         |  2 +-
 eclass/rust-toolchain.eclass                | 76 +++++++++++++--------
 15 files changed, 80 insertions(+), 42 deletions(-)

-- 
2.40.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 1/3] rust-toolchain.eclass: cosmetic cleanups
  2023-05-31 12:59 [gentoo-dev] [PATCH 0/3] rust-toolchain.eclass: cleanups and mips64el support WANG Xuerui
@ 2023-05-31 12:59 ` WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 2/3] rust-toolchain.eclass: add support for mips64el platforms WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 3/3] rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endianness WANG Xuerui
  2 siblings, 0 replies; 4+ messages in thread
From: WANG Xuerui @ 2023-05-31 12:59 UTC (permalink / raw
  To: gentoo-dev; +Cc: rust, WANG Xuerui

Re-tab the file, and reorganize the rust_abi and rust_all_arch_uris
helpers so the keys are sorted alphabetically while preserving match
order. No functional change intended.

See: https://github.com/gentoo/gentoo/pull/31241
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
---
 eclass/rust-toolchain.eclass | 70 ++++++++++++++++++++----------------
 1 file changed, 40 insertions(+), 30 deletions(-)

diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index df48d3fae264..ef4b2a91ef7d 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -36,21 +36,21 @@ rust_abi() {
 	case ${CTARGET%%*-} in
 		aarch64*gnu)  echo aarch64-unknown-linux-gnu;;
 		aarch64*musl) echo aarch64-unknown-linux-musl;;
-		mips64*)	  echo mips64-unknown-linux-gnuabi64;;
+		armv6j*h*)    echo arm-unknown-linux-gnueabihf;;
+		armv6j*s*)    echo arm-unknown-linux-gnueabi;;
+		armv7a*h*)    echo armv7-unknown-linux-gnueabihf;;
+		i?86*)        echo i686-unknown-linux-gnu;;
+		mips64*)      echo mips64-unknown-linux-gnuabi64;;
+		mipsel*)      echo mipsel-unknown-linux-gnu;;
+		mips*)        echo mips-unknown-linux-gnu;;
 		powerpc64le*) echo powerpc64le-unknown-linux-gnu;;
 		powerpc64*)   echo powerpc64-unknown-linux-gnu;;
-		x86_64*gnu)	  echo x86_64-unknown-linux-gnu;;
+		powerpc*)     echo powerpc-unknown-linux-gnu;;
+		riscv64*)     echo riscv64gc-unknown-linux-gnu;;
+		s390x*)       echo s390x-unknown-linux-gnu;;
+		x86_64*gnu)   echo x86_64-unknown-linux-gnu;;
 		x86_64*musl)  echo x86_64-unknown-linux-musl;;
-		armv6j*s*)	  echo arm-unknown-linux-gnueabi;;
-		armv6j*h*)	  echo arm-unknown-linux-gnueabihf;;
-		armv7a*h*)	  echo armv7-unknown-linux-gnueabihf;;
-		i?86*)		  echo i686-unknown-linux-gnu;;
-		mipsel*)	  echo mipsel-unknown-linux-gnu;;
-		mips*)		  echo mips-unknown-linux-gnu;;
-		powerpc*)	  echo powerpc-unknown-linux-gnu;;
-		s390x*)		  echo s390x-unknown-linux-gnu;;
-		riscv64*)	  echo riscv64gc-unknown-linux-gnu;;
-		*)			  echo ${CTARGET};;
+		*)            echo ${CTARGET};;
   esac
 }
 
@@ -105,22 +105,32 @@ rust_arch_uri() {
 #
 rust_all_arch_uris()
 {
-  local uris=""
-  uris+="abi_x86_64? ( elibc_glibc? ( $(rust_arch_uri x86_64-unknown-linux-gnu "$@") ) 
-                       elibc_musl?  ( $(rust_arch_uri x86_64-unknown-linux-musl "$@") ) ) "
-  uris+="arm?        ( $(rust_arch_uri arm-unknown-linux-gnueabi      "$@")
-                       $(rust_arch_uri arm-unknown-linux-gnueabihf    "$@")
-                       $(rust_arch_uri armv7-unknown-linux-gnueabihf  "$@") ) "
-  uris+="arm64?      ( elibc_glibc? ( $(rust_arch_uri aarch64-unknown-linux-gnu "$@") ) 
-                       elibc_musl?  ( $(rust_arch_uri aarch64-unknown-linux-musl "$@") ) ) "
-  uris+="mips?       ( $(rust_arch_uri mips-unknown-linux-gnu         "$@")
-                       $(rust_arch_uri mipsel-unknown-linux-gnu       "$@")
-                       $(rust_arch_uri mips64-unknown-linux-gnuabi64  "$@") ) "
-  uris+="ppc?        ( $(rust_arch_uri powerpc-unknown-linux-gnu      "$@") ) "
-  uris+="ppc64?      ( $(rust_arch_uri powerpc64-unknown-linux-gnu    "$@")
-                       $(rust_arch_uri powerpc64le-unknown-linux-gnu  "$@") ) "
-  uris+="s390?       ( $(rust_arch_uri s390x-unknown-linux-gnu        "$@") ) "
-  uris+="abi_x86_32? ( $(rust_arch_uri i686-unknown-linux-gnu         "$@") ) "
-  uris+="riscv?      ( $(rust_arch_uri riscv64gc-unknown-linux-gnu    "$@") ) "
-  echo "${uris}"
+	echo "
+	abi_x86_32? ( $(rust_arch_uri i686-unknown-linux-gnu "$@") )
+	abi_x86_64? (
+		elibc_glibc? ( $(rust_arch_uri x86_64-unknown-linux-gnu  "$@") )
+		elibc_musl?  ( $(rust_arch_uri x86_64-unknown-linux-musl "$@") )
+	)
+	arm? (
+		$(rust_arch_uri arm-unknown-linux-gnueabi     "$@")
+		$(rust_arch_uri arm-unknown-linux-gnueabihf   "$@")
+		$(rust_arch_uri armv7-unknown-linux-gnueabihf "$@")
+	)
+	arm64? (
+		elibc_glibc? ( $(rust_arch_uri aarch64-unknown-linux-gnu  "$@") )
+		elibc_musl?  ( $(rust_arch_uri aarch64-unknown-linux-musl "$@") )
+	)
+	mips? (
+		$(rust_arch_uri mips-unknown-linux-gnu          "$@")
+		$(rust_arch_uri mipsel-unknown-linux-gnu        "$@")
+		$(rust_arch_uri mips64-unknown-linux-gnuabi64   "$@")
+	)
+	ppc? ( $(rust_arch_uri powerpc-unknown-linux-gnu "$@") )
+	ppc64? (
+		$(rust_arch_uri powerpc64-unknown-linux-gnu   "$@")
+		$(rust_arch_uri powerpc64le-unknown-linux-gnu "$@")
+	)
+	riscv? ( $(rust_arch_uri riscv64gc-unknown-linux-gnu "$@") )
+	s390?  ( $(rust_arch_uri s390x-unknown-linux-gnu     "$@") )
+	"
 }
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 2/3] rust-toolchain.eclass: add support for mips64el platforms
  2023-05-31 12:59 [gentoo-dev] [PATCH 0/3] rust-toolchain.eclass: cleanups and mips64el support WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 1/3] rust-toolchain.eclass: cosmetic cleanups WANG Xuerui
@ 2023-05-31 12:59 ` WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 3/3] rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endianness WANG Xuerui
  2 siblings, 0 replies; 4+ messages in thread
From: WANG Xuerui @ 2023-05-31 12:59 UTC (permalink / raw
  To: gentoo-dev; +Cc: rust, WANG Xuerui

Right now mips64el systems are treated as mips64 (big-endian) in the
rust_abi helper, that prevents installation of rust. Fix by checking for
mips64el before mips64.

See: https://github.com/gentoo/gentoo/pull/31241
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
---
 dev-lang/rust-bin/Manifest   | 12 ++++++++++++
 dev-lang/rust/Manifest       | 10 ++++++++++
 eclass/rust-toolchain.eclass |  2 ++
 3 files changed, 24 insertions(+)

diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
index 28a2f491f86a..4d076c8865a5 100644
--- a/dev-lang/rust-bin/Manifest
+++ b/dev-lang/rust-bin/Manifest
@@ -14,6 +14,8 @@ DIST rust-1.65.0-mips-unknown-linux-gnu.tar.xz 172934452 BLAKE2B da7d02247e35723
 DIST rust-1.65.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B e5323fc58614bb2f61831d9a3bd4e3e17e61d7d876e8ccea0d7bcd90d515cdb09cf6112922260fa7d53ba9944b183918448b31c2de431cee8b2f13e6e82f66ea SHA512 b0544165a5b7b49ea7861ca7cea20d6667976667c2253816f942f9b1473306615df5e5e8c1d28028ae79d7cdfe8bfcecefa8df65648976240af40ac08a8ca458
 DIST rust-1.65.0-mips64-unknown-linux-gnuabi64.tar.xz 170733288 BLAKE2B 59211c452f921cc337762bcd50cf6cbe8b59b843c1f8afcb82705092ffd4465b663f3428c718b473235be5308cf13663bebc87a2ce93abc81b11192479261527 SHA512 75012281166d17805ae718b4ef55084f6b59c2ff10ef44ab03efd03e0a72539438ab953384e62f2c90042ed5b044478e17ce64d6e9ad85bf3d40ab55bfaa37fd
 DIST rust-1.65.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 491ed32a0804f9b69cfe7622eed951aea8a88e6bb9d0cb90e7fb836807fbb0c02ca1d0f4ce54ec366fb5d314bab7702b2395218c8c6746f35b6a0654f079e8a2 SHA512 afad470d8ab02729ac1fba678a0459279e4b8bf687e7ae90bf51ddd5fab5b9f1d6e421ade260d101405387e793fda7fd6ed35df3a97875342fd93feb2e1598e9
+DIST rust-1.65.0-mips64el-unknown-linux-gnuabi64.tar.xz 174670568 BLAKE2B 5cadd21fe86c15fc305ced94c3ef002c7c9494857aecf2c82a1d79bacbe72f9ea37c4f9cc552cc2af256b5602ad8a0cce28483a0a0f44ee887f22f240a231b46 SHA512 f16a3b29ce635eb8a384c9bd802778cdddfb030459cbc7beb2b5c861bbc7287bf20dbb552d48f8548086436b5dacd8aa3f4eebe82a2bad5785791f6db2c52d93
+DIST rust-1.65.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 57ea482eab56a7e17f37709efadd39fdd8ee536de16522996b2a9ab78f8450dd1b14f76360fcab79f3017d3ace389c10755e8865c93e4979a1c37ee5fb039f4c SHA512 ee045f7f129434ee1a1c7dc0612ecb93a4bddc17e5ed3f5b3c751ddf001e4a711f5419c9de7756335fcf59dc6119facb12c8f37fae8acbfb4c407c896761a4ad
 DIST rust-1.65.0-mipsel-unknown-linux-gnu.tar.xz 177698400 BLAKE2B eac9bbef703dd3d7a96dcb31ee0fd6f46d7046ec5d8e810605285a9b71248f0e97412f881d3ec77b4ce79057367523e36cde1a19733944d5a0fb56fc71e1d95f SHA512 2ae3976913b4d5f6a2bb7a778ffe7cad5bcfa643e37c217790605c5260cef44a2a98baaa5cc4fb70fbf63d5ae10c8d10ebd684d1f21a66c6915c5c58f488d7f0
 DIST rust-1.65.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 26b706e4c8a05a0e27050c8806d47dba83bf2e529ff10f622bd166aede62b2868a2be746c1b0c5d824df58658d5d125310004922bdd4a1224eb050368483b1df SHA512 49a35c5152d2cab469159b83b081f11897040e5b6ef641e4774a45bdf79b936860302812697469ea4429cfbfa90238958342d03bbca019a80fc7fcf666c571a1
 DIST rust-1.65.0-powerpc-unknown-linux-gnu.tar.xz 209510928 BLAKE2B ae05250069277c54f3658aa2474de6ce122de81f54a529cbed63b6e4c2354638904a018453a31dc2ecb364aa0c14bce23d97c4065cf8f7f0feb65e9107be78eb SHA512 a622011ac3c63b1b4f55a3fcf98fd1771af67b64a366473136b28f58e100635b823243e9a12f7694ee303e7338c40431e25554d5d72c16a72d0252c24c2cb7d1
@@ -47,6 +49,8 @@ DIST rust-1.66.1-mips-unknown-linux-gnu.tar.xz 187966796 BLAKE2B 193f18a9c56465d
 DIST rust-1.66.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a04c0f9320d663658b758e6b89709645433a0d16548c511945c439ce134617c8a05d7e9ff988e8f7a1ef62a726284548bf8b259648f614c3a2205ee9c02b3a91 SHA512 4b581b997a643c0ee6105c141c7859e86d9b2cb6dda85d867593829978911dc5a6c343a11712a334b94188078c0d3b1e7e734334b8b4a16b38afab228172bc6b
 DIST rust-1.66.1-mips64-unknown-linux-gnuabi64.tar.xz 184874416 BLAKE2B 64d96a026634cce03496be36ea7a42986e0fedc75d6c61e0f9a6ffe5cd3432bacd353276636c58989d02328be62f760bc0157c5999262bbac5c570dbc049635a SHA512 ce4b5ff464e358b085c18c21697cf7f339c19db163a873bf68b24e2febf42e69e582bbfc9f95cc38a6c96610a8ccfe6ec431cb2f98be10c48f9c1cbf027456a0
 DIST rust-1.66.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B fdcc56efc4f7df5d13595661d59354e4fcc757e966360fccf8a86d42f31f952334b9cedd107d23e4132b90e3082013cc26076a0754455d2759e2bb878afe023e SHA512 c5918b76fdfa39ba89c980ec2d252b3755439c8baece26d27f3515e800061370c2715620a052d3f22bd57412d058f5e3f53084bee08b5026b0f50112e6c41b93
+DIST rust-1.66.1-mips64el-unknown-linux-gnuabi64.tar.xz 187791816 BLAKE2B b81e214da1dc385bb1af0b01dcdaa5f2f9751b5faa6c9e05f501baeb6f1a298bb0af8829dd04736b76a063a5c28e303f2e295a54bd9093e6520ffd3de37f254f SHA512 4a21385af4b8441ecb717979e2b7329ce9384aa0008c350032d704d57e719464b0efa527745caa55c8e8784a4ae46b19b59631c5649fa50c0c83395864756c95
+DIST rust-1.66.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 896dd352cdfe8b920c036bf7dd40d8cf810993c21703dec7c30b6cb3eeb96d949fcb513c3982030ab34ae18fd158e4ad9910445af7515aaec45ceed5b6f1affe SHA512 a92e152ce501b43e7f808af2ced2f7528ab788c43334e3a127066b1e2dea24535c8e50a10e2ae766ec841520592e3171ff267eeadcfc995ac71478ddbafcefc3
 DIST rust-1.66.1-mipsel-unknown-linux-gnu.tar.xz 191073888 BLAKE2B b88ebb699e97e7e243138bf5674956afac0204bcc19882efd59340bd45256e9ba07b7e160895faffd81c62b533b2d305b088c08d3a99060e91025627ec8b7c7b SHA512 9afe6b80df0e24f2cedd65e7ab5fb25cd28be69b3e442c80a8f92291c7ad7ff7c2f8ec2e901bdeeb8084467700db4c19055edfe4ca8ccf7f6ffbf69e5c20426f
 DIST rust-1.66.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9a8c4eb0683465c63d1d5f25eedbc2ee96331960cbb2704d67a806852a05544f646cfe8220a3582d6e05dd30e63fdb736d176c0467166192501d168e5a0fb7d2 SHA512 e35e0e6b94feb551dc1a06e36ad0c70fe2641dc5671fc74fe99baede8c40cbca828259eafbf790af43cb8775fcf8c38442d2ca3349277b07bacbb508676b25d3
 DIST rust-1.66.1-powerpc-unknown-linux-gnu.tar.xz 209784584 BLAKE2B d582f2efaf7401dfc8ece24026653dd52acd3bd5f3a87d12eaf1be5170909ebf009189312d59d5508beb6a68bb88545ce97af1d87049dd61b2736ddd9fbb9ffc SHA512 b8a9f4115864e0e6262c603e11b2dd9a66706c120aecbd0e7b0acc79ff1675f0dbbd2c6c0095d21be664a04408e610f07b4e09adc31f73b0fc92dbb2083f9b13
@@ -80,6 +84,8 @@ DIST rust-1.67.1-mips-unknown-linux-gnu.tar.xz 195834044 BLAKE2B feab999cd49f72b
 DIST rust-1.67.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 100dcd13886287128065952d0b535208a0807c22175dd8fd04f16a16d76d2c9d32dd6b6da5ca929c517519e167e100607c7749ed6c512fae89e2e0313e7b7202 SHA512 5cebd45755d5accb15da29423eb7addf18a72326238ef6a0c2ca09776ac008490165d2b1fb069ec7a34d509bdfa7cf1212a87344e0dda4746dfb89afe404225a
 DIST rust-1.67.1-mips64-unknown-linux-gnuabi64.tar.xz 193892140 BLAKE2B d17cc8b42ad0e2a658dbc170dfc7256ecfd0b520cb6670eac4be63e1a92c54ff9018ee4ef9cf90b1e29d052cb6076ccbb163348b99113fd2e0d9155436129f91 SHA512 92e5c3238d4544583ed8ab989d598275e729e7795b0d645a822ca7cdb5be9fe419fba3a7f2d8db11393ce03ac02873ee876ae55f959609f0a6f4b4f1273a7929
 DIST rust-1.67.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 95c5e4829068b02c16f7e8e38b2d94a4f913bbd77b226d1c83c8cdc7ef198192b76ff67dc86f7978dd1b9cbb14bb627dc106fc2921a501c340f7d0442629f8e6 SHA512 32be92455ccb54328d1f62381501009e8dbe15f1b4f83e99a894bf5e7eb469a23aeeb3ef440be1ee798e00bfe865ec21d2dd6b2c58a475e1ec789425e53bd356
+DIST rust-1.67.1-mips64el-unknown-linux-gnuabi64.tar.xz 197223484 BLAKE2B 7130399156aab2972b680ef6a00337f9c33c1491648059d6705073c1990d959c21bbad55cb3de8bc7eec7a6163eb5b62b98e0ef5d8566434c356a3f1971bac48 SHA512 f77536697a3a24b03e3de54da00e0bf28b3506af1d20976256f3a0785c2b9acb745c7ce70a60c5e39c3ac728a57c018bc67cf0fc97f92b680b73e18f8e76e034
+DIST rust-1.67.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 1972af2185453d079e993f46ec45a7caf5926c079c205c992d2536d6b09a57e6a3f9442e422481307c0adb01ba896051ade0f1fe0eeccc4761fbcf6748540c39 SHA512 7ae033e29054154a9e735274e2b4f4c6ae8f5bbf1ab2138124130b53191ecede373948955fd2a0cb771ac3e596d416c4d38e362f295c38451b039dc3a55ae266
 DIST rust-1.67.1-mipsel-unknown-linux-gnu.tar.xz 199598332 BLAKE2B b894bef4c2f847a26be0badc6d069fad636f0cf1286a1643b876709ff292bfe3a2307f1a2904bf6e0c596c13dccd91baba0e0c4fcb45a7cfb71e555207a61292 SHA512 9574f8f078deae22bcdbeb89c7aaf1c26a49fb61cd9a7d777421497b85c243fdcbad8c25d1a80aab4ae0b03f6849628318371dc323e27e308c85ac556e2d649f
 DIST rust-1.67.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B dac540a5283281c495e4cc629e7d81279c55db4fce3191af55e88cfcb857a0f86eebeff9a0b8ba95d4da4654c5b11c0fb5364db876a4464b799499285f0184a0 SHA512 ccc990923cb5b73391b09e8c7f4479998bb378b07ee12b5a83d6fbe6044f6925429590a116a944163a2d8f7f6a210b6f2302cb5976a99174e012b7646d7cef5c
 DIST rust-1.67.1-powerpc-unknown-linux-gnu.tar.xz 222275832 BLAKE2B e63426d9441a601044d8f0cc8f181bafa7f47bce972518676913d506be5566654e0afe84d63ad0c3a31596231b0a1a10c96e9246fca9bd2b0438f9d72613fc9d SHA512 66fab7b5679bfe59f12dfc5b863196c2cb0b5d0f53d0bd88700586a90a6e8ad4c986fb44979b4320e74ed8b9e4c62b4ab2b3e64e44254355577fc9d1e6b688e4
@@ -112,6 +118,8 @@ DIST rust-1.68.1-mips-unknown-linux-gnu.tar.xz 195473632 BLAKE2B 179996202a7d730
 DIST rust-1.68.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 183a1d12fefbad2d7cccc35b09529e8b0c34018069ecd2ae117a1025d4cc08eeed9927a4de8376896be68654abf73b1df446bc6f4d7a787fe1a4a370f03aea1f SHA512 7ef9944ac194352c3aa8a55fe20745763de1f069502e446fc7dea0a25dfb57010411e29ab558a6ad42d0d01c8ad1baed743e9b53d721884479003e6f681fde2b
 DIST rust-1.68.1-mips64-unknown-linux-gnuabi64.tar.xz 194332688 BLAKE2B 9440d3ecfaa1c6ff0e93ab91ea24d5b33cf1d130f95f895cbe75c04c588b404eb9889ab508bda099cec891c2c7d06e340355ce6d5cc04d7554f517b0f7f6d617 SHA512 8969b9be26e75255982c10e868d1d1aaf672fd0bffbfcc929ba7dab49f8c5371f3c606e4b260f0eb50dea9d7f2491fc14e471db29ac63571ec624f999a9f8050
 DIST rust-1.68.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 1e1c99b6d629ec50ccd45ce310e7ca6f2f6e30f1566b007b277d607f187772d7de06a4fe8efaf61fa8cd8ee4193461dac65cd8229e0f61bbc42df2f99922d014 SHA512 1894ab2fd5bdb5e2671798ee7f9109f8924955dbed837d486f94e0141df8ab2fa1a7cfdee5d8e41ca5edc6c85215433c2db0c32a055a8c64ab63de0bb4f56642
+DIST rust-1.68.1-mips64el-unknown-linux-gnuabi64.tar.xz 197161964 BLAKE2B 52c3f3870f80ee22d85d51d0c8903057d7ab91f712ae3fa17a97acc242c03336a3a29f6f6a6f8ca5d3d200092bd0bb05f6e04c121103356e82ddf75690859a25 SHA512 f7c644e183f17391a9c7930c5edb2853e77331e928214b3fe8136665db195fefd4c0eeae43a44c99544e08c93fad531a0437739d206ba541b159ca8f9fa266e7
+DIST rust-1.68.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B a8cd33bb38b521ff5e28d1692c808684f9b84c4709e46fd8484b3f20f8ec0832a6cdee8e36c682678188bf8c7c1ebf1331e715b12356770329b82f837786d9f7 SHA512 c6d2bf28665f854da1165f101eba52e1290e535fecc8e9939daf67444fdc9d06dfc7ed592dbc17141380a02d203557f8e22f488bc226a4002cc2980964cf7be1
 DIST rust-1.68.1-mipsel-unknown-linux-gnu.tar.xz 199263224 BLAKE2B 39e453b1a802087efc0af3fd7676fae0ba633fc35ac7edd330f97df27c478129c1758d291cc713f65d27f68d854fb9e3d3d87b74d09a06474048fc94fd6a4284 SHA512 1d2f64ed9164153a556862fdc4f9cc74ee327d65dfa9d5d02b6d42d8790faff1e8b61e0d0f70b44606792d08bebe4755976036be4feff5bf72130641c0df99d7
 DIST rust-1.68.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B dc8c302cb471be27283dc4e85fe2468c75c5c558e2ca0265899dfc1b11dbbacc3c20f333fac1c300546033af1c15c003225c1afcbb77fd0766858c27229c6874 SHA512 f1b7e5141a17e9c2e83e0b0aa65ed90080cfb9b257661afa0376ce818b2ca876dafb7e72b1ebb86a30479d14d746f8102b6293c16cfb9cd09a75d89bc406c0d6
 DIST rust-1.68.1-powerpc-unknown-linux-gnu.tar.xz 221151404 BLAKE2B 751f2c0e70810eb6dc678d8fd00906867cd92974a6a9d853631e0605ca97d16e2008b86bac8d86b2c88527fa1f77f249a1a06a115c085c5e90a2b45311b4539f SHA512 65b2347d259b72d752cabe71bc376dcb19af7b529859d72370bd531165ad504973a9983c0bbec5a836d8dae8763a32e4d6ab21f53c5d3fa65d3156229d7b8d71
@@ -144,6 +152,8 @@ DIST rust-1.68.2-mips-unknown-linux-gnu.tar.xz 194817776 BLAKE2B 23583f6a3679518
 DIST rust-1.68.2-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9b57cdf81a81780f78ba6f3d13f917bacb35e01966c87cc07f08cd852a1473fec35d115c7951fd41367e465bd90ab90e7ca019e5edf61a92318d6bb2e9c76c2b SHA512 f87a10c3f2e457f8776d51a3fb80aadbf32e95e169b4c5b494d6f6f28164d970c2a82750dd352a574376b827a8ba741705fc8891b25f24744bc9e0572be30f21
 DIST rust-1.68.2-mips64-unknown-linux-gnuabi64.tar.xz 193006892 BLAKE2B 672f8ff8d8da0fd50565ca96263f97b9fa6fae754a35b8eec98ac82310fb5531f76f15ad141f8f78e6f8c94c96bd849b3f47983305386264aab87e724b3ff5d3 SHA512 c007dcaf7dafba7f927b717e140cb161dea7810aa358580b543db59066ff655b600177df211f120db34267444237d2cd7e56d666d813a06507638227f0278b7d
 DIST rust-1.68.2-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B f409f4a07a4c3d341a621433892c5d272896061d7b1dc585fcf3f81caec108164634720ebc40f53df82007ec3dbc7af695c34659c3f2c62241ccc12cd2fd732a SHA512 a3edacb8f7daa8578cc9461eb443918477295a04e55845451a98645575132758b8f6232cfcd18d03421b84b9d2ebee4bf52c58339b47a1cbc02435d65462404d
+DIST rust-1.68.2-mips64el-unknown-linux-gnuabi64.tar.xz 197892024 BLAKE2B 1ab3293d37fafb39f265d2000832b75b4961db19a616a567204448bbbd9c5cb1987e94f557e6c002032fc1e121efeec9cf2fd91579493acf57c24972d5184965 SHA512 fbfebd7d3ccc174397b6724b42f4554bc51149bb4774ccc333eaf1652413d972ba360bfc342b8afc402d77296fc4d429950446bcf570cfd0a96606ac672782e0
+DIST rust-1.68.2-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 5c8942be4e2fc20abcee92e1d1599daeedc3d0333216127a9c0791287dbf555d62ad1da5e69541abe4fa80deaa4195a508bd4d6228b67673c97e35586db8e82b SHA512 1ab78418a2a6bc1af4e9ac76bdbc9e6ed1baa793ab0c61b5b17b0856dfbf0085d10990e8254db42c45f635285e722f065e49ff4ceb24a601ac3cdf3ff313a269
 DIST rust-1.68.2-mipsel-unknown-linux-gnu.tar.xz 200273160 BLAKE2B 49800150c3ef7dd8cabe97d0e2a6af2de45bab8d5e7f03791d1acae8caf066d6393c56344136e8cd7867ac0756606e82ab3a1390b25bba038ab940a4ba403c82 SHA512 73985bf7ff96bf13a29f84d8a1daf93e1547548697ef79a601808e5d10a31cf813d724b8e3d3872da5e719b35298563843fa1e7b69021655b898e732d95cfce5
 DIST rust-1.68.2-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5090f375f6638eff5af4d2b8ed3ae4dc274378548aa8336ee0458383a8e28f566329eeb5e4b11ecb7c2b0bcd2bf974f0fb0c073712ba5dc6daec73a1f07181f2 SHA512 69089eefd8c20ccc508527225710b1b7122dc2dd887ed43d18ace4df888d0dcb7d2981eff89115d06eca5607593ce22246a4cace4139e88da0882b8d1d3b2e67
 DIST rust-1.68.2-powerpc-unknown-linux-gnu.tar.xz 220703376 BLAKE2B 05e7d9bbd4359376a568b4f9cabae340edb002e96713f9c5bd6b4e12c42fd947e53c1ece1cf9dfcb004489aa4c3f72d3c8a689df3c137b8ab362e536d62f2bcd SHA512 1fd9b3a58581a10dbbd01522cf3f5c1dedea91c283aacace3b1c2eab1460cd3141d1b817c8cf60e6488872777919b6723129315add84bd6e8b98d12e53a45419
@@ -176,6 +186,8 @@ DIST rust-1.69.0-mips-unknown-linux-gnu.tar.xz 151257112 BLAKE2B 098ec6973981845
 DIST rust-1.69.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B f39075809e42bc83d2be8057095f4cb95bed16a63a9d10f898ba878852f2b4f25fb734a34510be506b0efafe39d450719d5f59a5f4c52bea6f6d5299993c0526 SHA512 ccf22fe8ee696b7402ec0afa9a5564d514ce423fc62220eb3429d366e5c526786d82919ce4740a9d0af61b1fccf457dc2bd4328d863820918614e8edd4c21c1c
 DIST rust-1.69.0-mips64-unknown-linux-gnuabi64.tar.xz 149208900 BLAKE2B e68ebbd8ed27384097d1a847a51e7f60c5ef353b21b1c595ac7398762699117f24d43bd8f968b4f8ce48da9646f818d4252e13dcb2c68dc8ad976318a65e033f SHA512 b26304ebaf78655cf5c7966473f9d65c2c969ce61109d3fcaa852ec09de11eedb144a55feaf19695387ff82aa604aeefc20ef59f315bde56bbaa66303432cb6b
 DIST rust-1.69.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 219cdecb36deabaf099c09e665fb44f44dd16a49097f4bc101c9d5201f21e6f0ba91ee4751b8d336929d7a270cbf4d58ea48827f80a3c3c74003addfe2b2974e SHA512 aa866c1caac3b35ae1d3b846db7a92dc2c826de4b3671bf7cd3c0fb21f6aba68adfeee843fb351284c3cf816dfae8faef165b12f1821b2d63efd37c149b2eeed
+DIST rust-1.69.0-mips64el-unknown-linux-gnuabi64.tar.xz 152863108 BLAKE2B f5a34e4f38720e670c0b518cfbd790fc8a49c3a118961147b1f3cbd2945f806329b1faca39d0fa64906d78a165306d7e782cfab35e718faa2a9cdda9802d95c2 SHA512 b236bf8d57e6a3df4b4f6c618a5b4df9545579fa34938f0c14d10a189b92ded98726cfa60a5a0b066e7fe6cf8a775af83c2ac44d45ec1e180ba65dd040368617
+DIST rust-1.69.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B a1e090aabcf732168139dde571fe014946c5eef8a38a9b75bcb13f23edac4e03b84a6524d49177daf5bc7ff4e916fdc4bdf4a55070263bd619602a04d1440f7a SHA512 d27667f2c16ebbd218e20ce686e7a3c3eae93e27694ee317b4c50ddcc70350d5ed038b217088ec84c9c5c5b93ae32c46981926bf9f90fd2e5c2bb32437b0d5d9
 DIST rust-1.69.0-mipsel-unknown-linux-gnu.tar.xz 154656916 BLAKE2B d3c20130eecee206cca2c017f30e842b155cb4774129790347c6ae11276ff12dc31e6636a7c82e8064129d68bac275141c652a25234b157658d053162f28b4b9 SHA512 dad06c90b20d9f343a87dccfd9379c7fa8a914eccd77bb4e6f3a6f322e165db25001c13f78dee85055b7aea29b01f72f7cc1602a39ea911183ffd768c7e601da
 DIST rust-1.69.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4d5b46911d51b7fd1494318552b43bfe7448566fb0870229d90f0a237a863f3638a1b1b455c17016021f5b1d94acbe7ac048e71f7a1894cdd6b318431c64a6e2 SHA512 d089842013c4054c74929a4ad4d1cf6362b32e87a4bb5cf3613b260110d7fef69209605795d97484c8fd34287297ec70d6826d19693417cc9ac56b24079fc29b
 DIST rust-1.69.0-powerpc-unknown-linux-gnu.tar.xz 168723248 BLAKE2B b39871cac143d16565e777301ec17d41fc9887c7355c5c2b97c969c87910ece8531cb11ada056b6c94977ad3db81fb9304308065e07be570ecbcecd8529e64be SHA512 9211aa19c792ae12cfeb646a214761b3c2b012b33402a6b881b2d8bbf12a5da1f528b2b9adeeb42afcf18eb5161d430e9dd08ff96e3f048f5e6ae94a7abcdfbc
diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
index 391a1139b10f..c4a3b326f160 100644
--- a/dev-lang/rust/Manifest
+++ b/dev-lang/rust/Manifest
@@ -14,6 +14,8 @@ DIST rust-1.64.0-mips-unknown-linux-gnu.tar.xz 167831852 BLAKE2B 76e00291f2e2b18
 DIST rust-1.64.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 81f100c9a788c863b2f2388e7264b8e6b4ea062fd46d6c0e922561f491cf86227c46511ab538d8bc56a9b2d01d2ae19f105966ea00f2ea86592128e4c26b55ae SHA512 41e59d670efc9085c6e3ed59bb8808dc747eebfbd65ed976da04ff70095d91f15b43f8d257a09d2a6ee1cb07c5d1f49081529e0fc8234a26599a28ddaf167f4b
 DIST rust-1.64.0-mips64-unknown-linux-gnuabi64.tar.xz 172953460 BLAKE2B 68aa0d08ba233ebe95c1107574ce9165cc2afc0a43db044b6951055e30f22ed6070f9fe10f0482923f767e39fb99f887da59dcf679c3e9c16345f943b0c3012c SHA512 59250c13e980fc38b6da08faf7713c1c9ea2865793cfb0032a65a499bbfd4f7af94604bbdab4e0fd34a0be6b74db8cdcb8c3859e5c13d8a29d8c953d67a9bc84
 DIST rust-1.64.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B eb53e83dde3acdc3cfb84c7285a1373c4059c0c06e4cfe855339ce817a0a8cbea33da9fa0894a9640871003e8058482e46a31b04dd9ad1d8ae8e9ac1b3c72f7b SHA512 2e8438ca78bfd610c8c7b99a4aa2663cfddc611fa4495f490789d7838b80a8f90b9eb7f59171da187fdbc8a17b4ebc20eb69ccdaa75cca4966246e78dd41473d
+DIST rust-1.64.0-mips64el-unknown-linux-gnuabi64.tar.xz 175504748 BLAKE2B 9399b396f23b5fac32c3f78902e2a2ba21b2ec4d6f1333a963c7f8b025f45667c2a895b36e25991d71f0fe9938807c592b955bbafc6a627fdf98384c371f366a SHA512 97d929193c5fbbf20a2347570a803b1f62f7af40745e82996bf286b2b87edf24f6c1f1a938d4571d6ec1583d8940cca03390c3f5517ac1026e277d92cf650db2
+DIST rust-1.64.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 8d728073e720b39572b1150e04bc58cd0c1cf0b96e56699ad52cb3bb32dc28b9c5d8e163f07419f289c1ad028a99036c8cb979e02c7df425e74a883239a7b2f2 SHA512 56458270e4810c3bc711aeb14b0f89ec56352a3fb98a5f34a56a1309ce5ff265806cc9c147bd4268c2e1cdd51dd13659aa4f58ad6de9b2ce2e6e89981798c996
 DIST rust-1.64.0-mipsel-unknown-linux-gnu.tar.xz 172189848 BLAKE2B aff9136ab374a3e39674c17b1ffa4fb8fe077301284b5dde927e0cf56e51edbb912b40d852aac4ad4d4e39f3ae20e68174dac338af6682735e8a031607652176 SHA512 9283e1e9eeff6c67c49e656709e1a6c6c52329aa913c6024af3aebd889b594f48f0c8172270c579a52d5980f7a42730a6184254b5c8002928f8f93c484dad211
 DIST rust-1.64.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 613ac8c773cc6585a99295e2770879cf7a9a56e1ac43256a1d8a56a12bd9b8aa08e49df96819805f4e98230d5c6d106eae837102c21f044e7e0b7756c453c529 SHA512 24d15870efaf03a916d69a358871a427869bc41ce164dcf8968564dc3f213603d0572f34b8ebbcd98d6653ff1e70664baf8c2dbdb32a0779f361338d4d3a0f43
 DIST rust-1.64.0-powerpc-unknown-linux-gnu.tar.xz 204541208 BLAKE2B 5bbd65d8aece3e32bca62d8a8b210cf155a786501c96e509462d0c45b15f19910794ff85ade0c42b575f41bd47f4f3250c011152b968ff1ad000ead6b7a200ad SHA512 13cc41679bf1bdb94d042de18696685087f3bfc84c0f99567b8c9dc6a5796c0f122499254ca8032eced8fa53623133a8b6652e14f398a9cea95ac3364a227f45
@@ -46,6 +48,8 @@ DIST rust-1.65.0-mips-unknown-linux-gnu.tar.xz 172934452 BLAKE2B da7d02247e35723
 DIST rust-1.65.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B e5323fc58614bb2f61831d9a3bd4e3e17e61d7d876e8ccea0d7bcd90d515cdb09cf6112922260fa7d53ba9944b183918448b31c2de431cee8b2f13e6e82f66ea SHA512 b0544165a5b7b49ea7861ca7cea20d6667976667c2253816f942f9b1473306615df5e5e8c1d28028ae79d7cdfe8bfcecefa8df65648976240af40ac08a8ca458
 DIST rust-1.65.0-mips64-unknown-linux-gnuabi64.tar.xz 170733288 BLAKE2B 59211c452f921cc337762bcd50cf6cbe8b59b843c1f8afcb82705092ffd4465b663f3428c718b473235be5308cf13663bebc87a2ce93abc81b11192479261527 SHA512 75012281166d17805ae718b4ef55084f6b59c2ff10ef44ab03efd03e0a72539438ab953384e62f2c90042ed5b044478e17ce64d6e9ad85bf3d40ab55bfaa37fd
 DIST rust-1.65.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 491ed32a0804f9b69cfe7622eed951aea8a88e6bb9d0cb90e7fb836807fbb0c02ca1d0f4ce54ec366fb5d314bab7702b2395218c8c6746f35b6a0654f079e8a2 SHA512 afad470d8ab02729ac1fba678a0459279e4b8bf687e7ae90bf51ddd5fab5b9f1d6e421ade260d101405387e793fda7fd6ed35df3a97875342fd93feb2e1598e9
+DIST rust-1.65.0-mips64el-unknown-linux-gnuabi64.tar.xz 174670568 BLAKE2B 5cadd21fe86c15fc305ced94c3ef002c7c9494857aecf2c82a1d79bacbe72f9ea37c4f9cc552cc2af256b5602ad8a0cce28483a0a0f44ee887f22f240a231b46 SHA512 f16a3b29ce635eb8a384c9bd802778cdddfb030459cbc7beb2b5c861bbc7287bf20dbb552d48f8548086436b5dacd8aa3f4eebe82a2bad5785791f6db2c52d93
+DIST rust-1.65.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 57ea482eab56a7e17f37709efadd39fdd8ee536de16522996b2a9ab78f8450dd1b14f76360fcab79f3017d3ace389c10755e8865c93e4979a1c37ee5fb039f4c SHA512 ee045f7f129434ee1a1c7dc0612ecb93a4bddc17e5ed3f5b3c751ddf001e4a711f5419c9de7756335fcf59dc6119facb12c8f37fae8acbfb4c407c896761a4ad
 DIST rust-1.65.0-mipsel-unknown-linux-gnu.tar.xz 177698400 BLAKE2B eac9bbef703dd3d7a96dcb31ee0fd6f46d7046ec5d8e810605285a9b71248f0e97412f881d3ec77b4ce79057367523e36cde1a19733944d5a0fb56fc71e1d95f SHA512 2ae3976913b4d5f6a2bb7a778ffe7cad5bcfa643e37c217790605c5260cef44a2a98baaa5cc4fb70fbf63d5ae10c8d10ebd684d1f21a66c6915c5c58f488d7f0
 DIST rust-1.65.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 26b706e4c8a05a0e27050c8806d47dba83bf2e529ff10f622bd166aede62b2868a2be746c1b0c5d824df58658d5d125310004922bdd4a1224eb050368483b1df SHA512 49a35c5152d2cab469159b83b081f11897040e5b6ef641e4774a45bdf79b936860302812697469ea4429cfbfa90238958342d03bbca019a80fc7fcf666c571a1
 DIST rust-1.65.0-powerpc-unknown-linux-gnu.tar.xz 209510928 BLAKE2B ae05250069277c54f3658aa2474de6ce122de81f54a529cbed63b6e4c2354638904a018453a31dc2ecb364aa0c14bce23d97c4065cf8f7f0feb65e9107be78eb SHA512 a622011ac3c63b1b4f55a3fcf98fd1771af67b64a366473136b28f58e100635b823243e9a12f7694ee303e7338c40431e25554d5d72c16a72d0252c24c2cb7d1
@@ -78,6 +82,8 @@ DIST rust-1.66.1-mips-unknown-linux-gnu.tar.xz 187966796 BLAKE2B 193f18a9c56465d
 DIST rust-1.66.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a04c0f9320d663658b758e6b89709645433a0d16548c511945c439ce134617c8a05d7e9ff988e8f7a1ef62a726284548bf8b259648f614c3a2205ee9c02b3a91 SHA512 4b581b997a643c0ee6105c141c7859e86d9b2cb6dda85d867593829978911dc5a6c343a11712a334b94188078c0d3b1e7e734334b8b4a16b38afab228172bc6b
 DIST rust-1.66.1-mips64-unknown-linux-gnuabi64.tar.xz 184874416 BLAKE2B 64d96a026634cce03496be36ea7a42986e0fedc75d6c61e0f9a6ffe5cd3432bacd353276636c58989d02328be62f760bc0157c5999262bbac5c570dbc049635a SHA512 ce4b5ff464e358b085c18c21697cf7f339c19db163a873bf68b24e2febf42e69e582bbfc9f95cc38a6c96610a8ccfe6ec431cb2f98be10c48f9c1cbf027456a0
 DIST rust-1.66.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B fdcc56efc4f7df5d13595661d59354e4fcc757e966360fccf8a86d42f31f952334b9cedd107d23e4132b90e3082013cc26076a0754455d2759e2bb878afe023e SHA512 c5918b76fdfa39ba89c980ec2d252b3755439c8baece26d27f3515e800061370c2715620a052d3f22bd57412d058f5e3f53084bee08b5026b0f50112e6c41b93
+DIST rust-1.66.1-mips64el-unknown-linux-gnuabi64.tar.xz 187791816 BLAKE2B b81e214da1dc385bb1af0b01dcdaa5f2f9751b5faa6c9e05f501baeb6f1a298bb0af8829dd04736b76a063a5c28e303f2e295a54bd9093e6520ffd3de37f254f SHA512 4a21385af4b8441ecb717979e2b7329ce9384aa0008c350032d704d57e719464b0efa527745caa55c8e8784a4ae46b19b59631c5649fa50c0c83395864756c95
+DIST rust-1.66.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 896dd352cdfe8b920c036bf7dd40d8cf810993c21703dec7c30b6cb3eeb96d949fcb513c3982030ab34ae18fd158e4ad9910445af7515aaec45ceed5b6f1affe SHA512 a92e152ce501b43e7f808af2ced2f7528ab788c43334e3a127066b1e2dea24535c8e50a10e2ae766ec841520592e3171ff267eeadcfc995ac71478ddbafcefc3
 DIST rust-1.66.1-mipsel-unknown-linux-gnu.tar.xz 191073888 BLAKE2B b88ebb699e97e7e243138bf5674956afac0204bcc19882efd59340bd45256e9ba07b7e160895faffd81c62b533b2d305b088c08d3a99060e91025627ec8b7c7b SHA512 9afe6b80df0e24f2cedd65e7ab5fb25cd28be69b3e442c80a8f92291c7ad7ff7c2f8ec2e901bdeeb8084467700db4c19055edfe4ca8ccf7f6ffbf69e5c20426f
 DIST rust-1.66.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9a8c4eb0683465c63d1d5f25eedbc2ee96331960cbb2704d67a806852a05544f646cfe8220a3582d6e05dd30e63fdb736d176c0467166192501d168e5a0fb7d2 SHA512 e35e0e6b94feb551dc1a06e36ad0c70fe2641dc5671fc74fe99baede8c40cbca828259eafbf790af43cb8775fcf8c38442d2ca3349277b07bacbb508676b25d3
 DIST rust-1.66.1-powerpc-unknown-linux-gnu.tar.xz 209784584 BLAKE2B d582f2efaf7401dfc8ece24026653dd52acd3bd5f3a87d12eaf1be5170909ebf009189312d59d5508beb6a68bb88545ce97af1d87049dd61b2736ddd9fbb9ffc SHA512 b8a9f4115864e0e6262c603e11b2dd9a66706c120aecbd0e7b0acc79ff1675f0dbbd2c6c0095d21be664a04408e610f07b4e09adc31f73b0fc92dbb2083f9b13
@@ -110,6 +116,8 @@ DIST rust-1.67.1-mips-unknown-linux-gnu.tar.xz 195834044 BLAKE2B feab999cd49f72b
 DIST rust-1.67.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 100dcd13886287128065952d0b535208a0807c22175dd8fd04f16a16d76d2c9d32dd6b6da5ca929c517519e167e100607c7749ed6c512fae89e2e0313e7b7202 SHA512 5cebd45755d5accb15da29423eb7addf18a72326238ef6a0c2ca09776ac008490165d2b1fb069ec7a34d509bdfa7cf1212a87344e0dda4746dfb89afe404225a
 DIST rust-1.67.1-mips64-unknown-linux-gnuabi64.tar.xz 193892140 BLAKE2B d17cc8b42ad0e2a658dbc170dfc7256ecfd0b520cb6670eac4be63e1a92c54ff9018ee4ef9cf90b1e29d052cb6076ccbb163348b99113fd2e0d9155436129f91 SHA512 92e5c3238d4544583ed8ab989d598275e729e7795b0d645a822ca7cdb5be9fe419fba3a7f2d8db11393ce03ac02873ee876ae55f959609f0a6f4b4f1273a7929
 DIST rust-1.67.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 95c5e4829068b02c16f7e8e38b2d94a4f913bbd77b226d1c83c8cdc7ef198192b76ff67dc86f7978dd1b9cbb14bb627dc106fc2921a501c340f7d0442629f8e6 SHA512 32be92455ccb54328d1f62381501009e8dbe15f1b4f83e99a894bf5e7eb469a23aeeb3ef440be1ee798e00bfe865ec21d2dd6b2c58a475e1ec789425e53bd356
+DIST rust-1.67.1-mips64el-unknown-linux-gnuabi64.tar.xz 197223484 BLAKE2B 7130399156aab2972b680ef6a00337f9c33c1491648059d6705073c1990d959c21bbad55cb3de8bc7eec7a6163eb5b62b98e0ef5d8566434c356a3f1971bac48 SHA512 f77536697a3a24b03e3de54da00e0bf28b3506af1d20976256f3a0785c2b9acb745c7ce70a60c5e39c3ac728a57c018bc67cf0fc97f92b680b73e18f8e76e034
+DIST rust-1.67.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 1972af2185453d079e993f46ec45a7caf5926c079c205c992d2536d6b09a57e6a3f9442e422481307c0adb01ba896051ade0f1fe0eeccc4761fbcf6748540c39 SHA512 7ae033e29054154a9e735274e2b4f4c6ae8f5bbf1ab2138124130b53191ecede373948955fd2a0cb771ac3e596d416c4d38e362f295c38451b039dc3a55ae266
 DIST rust-1.67.1-mipsel-unknown-linux-gnu.tar.xz 199598332 BLAKE2B b894bef4c2f847a26be0badc6d069fad636f0cf1286a1643b876709ff292bfe3a2307f1a2904bf6e0c596c13dccd91baba0e0c4fcb45a7cfb71e555207a61292 SHA512 9574f8f078deae22bcdbeb89c7aaf1c26a49fb61cd9a7d777421497b85c243fdcbad8c25d1a80aab4ae0b03f6849628318371dc323e27e308c85ac556e2d649f
 DIST rust-1.67.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B dac540a5283281c495e4cc629e7d81279c55db4fce3191af55e88cfcb857a0f86eebeff9a0b8ba95d4da4654c5b11c0fb5364db876a4464b799499285f0184a0 SHA512 ccc990923cb5b73391b09e8c7f4479998bb378b07ee12b5a83d6fbe6044f6925429590a116a944163a2d8f7f6a210b6f2302cb5976a99174e012b7646d7cef5c
 DIST rust-1.67.1-powerpc-unknown-linux-gnu.tar.xz 222275832 BLAKE2B e63426d9441a601044d8f0cc8f181bafa7f47bce972518676913d506be5566654e0afe84d63ad0c3a31596231b0a1a10c96e9246fca9bd2b0438f9d72613fc9d SHA512 66fab7b5679bfe59f12dfc5b863196c2cb0b5d0f53d0bd88700586a90a6e8ad4c986fb44979b4320e74ed8b9e4c62b4ab2b3e64e44254355577fc9d1e6b688e4
@@ -142,6 +150,8 @@ DIST rust-1.68.2-mips-unknown-linux-gnu.tar.xz 194817776 BLAKE2B 23583f6a3679518
 DIST rust-1.68.2-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9b57cdf81a81780f78ba6f3d13f917bacb35e01966c87cc07f08cd852a1473fec35d115c7951fd41367e465bd90ab90e7ca019e5edf61a92318d6bb2e9c76c2b SHA512 f87a10c3f2e457f8776d51a3fb80aadbf32e95e169b4c5b494d6f6f28164d970c2a82750dd352a574376b827a8ba741705fc8891b25f24744bc9e0572be30f21
 DIST rust-1.68.2-mips64-unknown-linux-gnuabi64.tar.xz 193006892 BLAKE2B 672f8ff8d8da0fd50565ca96263f97b9fa6fae754a35b8eec98ac82310fb5531f76f15ad141f8f78e6f8c94c96bd849b3f47983305386264aab87e724b3ff5d3 SHA512 c007dcaf7dafba7f927b717e140cb161dea7810aa358580b543db59066ff655b600177df211f120db34267444237d2cd7e56d666d813a06507638227f0278b7d
 DIST rust-1.68.2-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B f409f4a07a4c3d341a621433892c5d272896061d7b1dc585fcf3f81caec108164634720ebc40f53df82007ec3dbc7af695c34659c3f2c62241ccc12cd2fd732a SHA512 a3edacb8f7daa8578cc9461eb443918477295a04e55845451a98645575132758b8f6232cfcd18d03421b84b9d2ebee4bf52c58339b47a1cbc02435d65462404d
+DIST rust-1.68.2-mips64el-unknown-linux-gnuabi64.tar.xz 197892024 BLAKE2B 1ab3293d37fafb39f265d2000832b75b4961db19a616a567204448bbbd9c5cb1987e94f557e6c002032fc1e121efeec9cf2fd91579493acf57c24972d5184965 SHA512 fbfebd7d3ccc174397b6724b42f4554bc51149bb4774ccc333eaf1652413d972ba360bfc342b8afc402d77296fc4d429950446bcf570cfd0a96606ac672782e0
+DIST rust-1.68.2-mips64el-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 5c8942be4e2fc20abcee92e1d1599daeedc3d0333216127a9c0791287dbf555d62ad1da5e69541abe4fa80deaa4195a508bd4d6228b67673c97e35586db8e82b SHA512 1ab78418a2a6bc1af4e9ac76bdbc9e6ed1baa793ab0c61b5b17b0856dfbf0085d10990e8254db42c45f635285e722f065e49ff4ceb24a601ac3cdf3ff313a269
 DIST rust-1.68.2-mipsel-unknown-linux-gnu.tar.xz 200273160 BLAKE2B 49800150c3ef7dd8cabe97d0e2a6af2de45bab8d5e7f03791d1acae8caf066d6393c56344136e8cd7867ac0756606e82ab3a1390b25bba038ab940a4ba403c82 SHA512 73985bf7ff96bf13a29f84d8a1daf93e1547548697ef79a601808e5d10a31cf813d724b8e3d3872da5e719b35298563843fa1e7b69021655b898e732d95cfce5
 DIST rust-1.68.2-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5090f375f6638eff5af4d2b8ed3ae4dc274378548aa8336ee0458383a8e28f566329eeb5e4b11ecb7c2b0bcd2bf974f0fb0c073712ba5dc6daec73a1f07181f2 SHA512 69089eefd8c20ccc508527225710b1b7122dc2dd887ed43d18ace4df888d0dcb7d2981eff89115d06eca5607593ce22246a4cace4139e88da0882b8d1d3b2e67
 DIST rust-1.68.2-powerpc-unknown-linux-gnu.tar.xz 220703376 BLAKE2B 05e7d9bbd4359376a568b4f9cabae340edb002e96713f9c5bd6b4e12c42fd947e53c1ece1cf9dfcb004489aa4c3f72d3c8a689df3c137b8ab362e536d62f2bcd SHA512 1fd9b3a58581a10dbbd01522cf3f5c1dedea91c283aacace3b1c2eab1460cd3141d1b817c8cf60e6488872777919b6723129315add84bd6e8b98d12e53a45419
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index ef4b2a91ef7d..c9c0886009a2 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -40,6 +40,7 @@ rust_abi() {
 		armv6j*s*)    echo arm-unknown-linux-gnueabi;;
 		armv7a*h*)    echo armv7-unknown-linux-gnueabihf;;
 		i?86*)        echo i686-unknown-linux-gnu;;
+		mips64el*)    echo mips64el-unknown-linux-gnuabi64;;
 		mips64*)      echo mips64-unknown-linux-gnuabi64;;
 		mipsel*)      echo mipsel-unknown-linux-gnu;;
 		mips*)        echo mips-unknown-linux-gnu;;
@@ -124,6 +125,7 @@ rust_all_arch_uris()
 		$(rust_arch_uri mips-unknown-linux-gnu          "$@")
 		$(rust_arch_uri mipsel-unknown-linux-gnu        "$@")
 		$(rust_arch_uri mips64-unknown-linux-gnuabi64   "$@")
+		$(rust_arch_uri mips64el-unknown-linux-gnuabi64 "$@")
 	)
 	ppc? ( $(rust_arch_uri powerpc-unknown-linux-gnu "$@") )
 	ppc64? (
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 3/3] rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endianness
  2023-05-31 12:59 [gentoo-dev] [PATCH 0/3] rust-toolchain.eclass: cleanups and mips64el support WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 1/3] rust-toolchain.eclass: cosmetic cleanups WANG Xuerui
  2023-05-31 12:59 ` [gentoo-dev] [PATCH 2/3] rust-toolchain.eclass: add support for mips64el platforms WANG Xuerui
@ 2023-05-31 12:59 ` WANG Xuerui
  2 siblings, 0 replies; 4+ messages in thread
From: WANG Xuerui @ 2023-05-31 12:59 UTC (permalink / raw
  To: gentoo-dev; +Cc: rust, WANG Xuerui

For less downloading client-side, as it is likely that only one package
in each covered group would work on a given system.

Closes: https://github.com/gentoo/gentoo/pull/31241
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
---
 dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.68.1.ebuild    |  2 +-
 dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild |  2 +-
 dev-lang/rust-bin/rust-bin-1.69.0.ebuild    |  2 +-
 dev-lang/rust/rust-1.65.0.ebuild            |  2 +-
 dev-lang/rust/rust-1.66.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.67.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.68.1.ebuild            |  2 +-
 dev-lang/rust/rust-1.68.2.ebuild            |  2 +-
 dev-lang/rust/rust-1.69.0-r1.ebuild         |  2 +-
 eclass/rust-toolchain.eclass                | 16 ++++++++++------
 13 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild b/dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild
index 217681fdca9e..6dde1cf31349 100644
--- a/dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.65.0-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.
 LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild b/dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild
index 4c965e1f5dd4..f9765ffc184f 100644
--- a/dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.66.1-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild b/dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild
index c8ce92fc1251..d6a0726bbef4 100644
--- a/dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.67.1-r2.ebuild
@@ -21,7 +21,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust-bin/rust-bin-1.68.1.ebuild b/dev-lang/rust-bin/rust-bin-1.68.1.ebuild
index dd3c4559ee18..73b3c80c1c16 100644
--- a/dev-lang/rust-bin/rust-bin-1.68.1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.68.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild b/dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild
index efd643da0fd7..84e6effba07c 100644
--- a/dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.68.2-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust-bin/rust-bin-1.69.0.ebuild b/dev-lang/rust-bin/rust-bin-1.69.0.ebuild
index 10ed7b6cb1f4..71bcc04ada4c 100644
--- a/dev-lang/rust-bin/rust-bin-1.69.0.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.69.0.ebuild
@@ -21,7 +21,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
 KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
-IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
 
diff --git a/dev-lang/rust/rust-1.65.0.ebuild b/dev-lang/rust/rust-1.65.0.ebuild
index bb793aa16865..c3fe7cbd2f01 100644
--- a/dev-lang/rust/rust-1.65.0.ebuild
+++ b/dev-lang/rust/rust-1.65.0.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/dev-lang/rust/rust-1.66.1.ebuild b/dev-lang/rust/rust-1.66.1.ebuild
index 85a895e94dc2..dcb7d993909c 100644
--- a/dev-lang/rust/rust-1.66.1.ebuild
+++ b/dev-lang/rust/rust-1.66.1.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/dev-lang/rust/rust-1.67.1.ebuild b/dev-lang/rust/rust-1.67.1.ebuild
index 5c51929f95da..8e1fe65ba1ac 100644
--- a/dev-lang/rust/rust-1.67.1.ebuild
+++ b/dev-lang/rust/rust-1.67.1.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/dev-lang/rust/rust-1.68.1.ebuild b/dev-lang/rust/rust-1.68.1.ebuild
index 4f904c718106..b1a1b6277f93 100644
--- a/dev-lang/rust/rust-1.68.1.ebuild
+++ b/dev-lang/rust/rust-1.68.1.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/dev-lang/rust/rust-1.68.2.ebuild b/dev-lang/rust/rust-1.68.2.ebuild
index 4f904c718106..b1a1b6277f93 100644
--- a/dev-lang/rust/rust-1.68.2.ebuild
+++ b/dev-lang/rust/rust-1.68.2.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/dev-lang/rust/rust-1.69.0-r1.ebuild b/dev-lang/rust/rust-1.69.0-r1.ebuild
index 1dd71ce737db..559f56ec676c 100644
--- a/dev-lang/rust/rust-1.69.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.69.0-r1.ebuild
@@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 
-IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
 
 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
 # we need to *really* make sure we're not pulling more than one slot
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index c9c0886009a2..0dcafdf9b335 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -122,15 +122,19 @@ rust_all_arch_uris()
 		elibc_musl?  ( $(rust_arch_uri aarch64-unknown-linux-musl "$@") )
 	)
 	mips? (
-		$(rust_arch_uri mips-unknown-linux-gnu          "$@")
-		$(rust_arch_uri mipsel-unknown-linux-gnu        "$@")
-		$(rust_arch_uri mips64-unknown-linux-gnuabi64   "$@")
-		$(rust_arch_uri mips64el-unknown-linux-gnuabi64 "$@")
+		abi_mips_o32? (
+			big-endian?  ( $(rust_arch_uri mips-unknown-linux-gnu   "$@") )
+			!big-endian? ( $(rust_arch_uri mipsel-unknown-linux-gnu "$@") )
+		)
+		abi_mips_n64? (
+			big-endian?  ( $(rust_arch_uri mips64-unknown-linux-gnuabi64   "$@") )
+			!big-endian? ( $(rust_arch_uri mips64el-unknown-linux-gnuabi64 "$@") )
+		)
 	)
 	ppc? ( $(rust_arch_uri powerpc-unknown-linux-gnu "$@") )
 	ppc64? (
-		$(rust_arch_uri powerpc64-unknown-linux-gnu   "$@")
-		$(rust_arch_uri powerpc64le-unknown-linux-gnu "$@")
+		big-endian?  ( $(rust_arch_uri powerpc64-unknown-linux-gnu   "$@") )
+		!big-endian? ( $(rust_arch_uri powerpc64le-unknown-linux-gnu "$@") )
 	)
 	riscv? ( $(rust_arch_uri riscv64gc-unknown-linux-gnu "$@") )
 	s390?  ( $(rust_arch_uri s390x-unknown-linux-gnu     "$@") )
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-31 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-31 12:59 [gentoo-dev] [PATCH 0/3] rust-toolchain.eclass: cleanups and mips64el support WANG Xuerui
2023-05-31 12:59 ` [gentoo-dev] [PATCH 1/3] rust-toolchain.eclass: cosmetic cleanups WANG Xuerui
2023-05-31 12:59 ` [gentoo-dev] [PATCH 2/3] rust-toolchain.eclass: add support for mips64el platforms WANG Xuerui
2023-05-31 12:59 ` [gentoo-dev] [PATCH 3/3] rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endianness WANG Xuerui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox