• [gentoo-dev] [PATCH 2/3] rust-toolchain.eclass: add support for mips64e

    From WANG Xuerui@21:1/5 to All on Wed May 31 15:10:02 2023
    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
    75012281166d17805ae718b4