From: Matt Jolly <
kangie@gentoo.org>
The `mips` logic has been moved into the one ebuild that it impacts,
and that ebuild is only required for one package - we'll try to
remove it from the tree soon.
Merge `loong` into `rust_all_arch_uris()` output unconditionally;
the check is now superfluous - all pre-1.71.0 rust versions
are out of the tree.
Signed-off-by: Matt Jolly <
kangie@gentoo.org>
---
eclass/rust-toolchain.eclass | 27 ++-------------------------
1 file changed, 2 insertions(+), 25 deletions(-)
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass
index 89bca88b9e6b..2d9c56b4d6b6 100644
--- a/eclass/rust-toolchain.eclass
+++ b/eclass/rust-toolchain.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: rust-toolchain.eclass
@@ -113,29 +113,6 @@ rust_all_arch_uris()
)
riscv? ( elibc_glibc? ( $(rust_arch_uri riscv64gc-unknown-linux-gnu "$@") ) )
s390? ( elibc_glibc? ( $(rust_arch_uri s390x-unknown-linux-gnu "$@") ) )
+ loong? ( elibc_glibc? ( $(rust_arch_uri loongarch64-unknown-linux-gnu "$@") ) )
"
-
- # Upstream did not gain support for loong until v1.71.0.
- # NOTE: Merge this into the block above after every <1.71.0 version is - # gone from tree.
- local arg_version="${1##*-}"
- arg_version="${arg_versi