summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rust-toolchain.eclass: Drop unused rust_all_abis() and multilib inheritJames Le Cuirot2024-06-121-23/+2
| | | | | | | | | multilib USE flags have unintentionally appeared against all Cargo packages since this eclass was used by cargo.eclass. The rust_all_abis() function is not used anywhere though, and removing it makes the multilib-build inherit that is causing the issue redundant. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* rust-toolchain.eclass: support riscv64*muslArthur Zamarin2024-06-121-3/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* rust-toolchain.eclass: exclude mips from SRC_URI for versions >= 1.72.0WANG Xuerui2023-08-281-11/+17
| | | | | | | Upstream dropped the mips*-linux-gnu* targets to Tier 3, so until the situation is resolved there will not be prebuilt binaries from upstream. Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: add preparatory loong supportWANG Xuerui2023-07-201-0/+9
| | | | | | | | Rust 1.71.0 was already beta at time of the commit, meaning the target tuple of loong can be considered stable. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: qualify applicable rust_arch_uris with ABI and endiannessWANG Xuerui2023-07-201-6/+10
| | | | | | | | For less downloading client-side, as it is likely that only one package in each covered group would work on a given system. See: https://github.com/gentoo/gentoo/pull/31241 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* rust-toolchain.eclass: add support for mips64el platformsWANG Xuerui2023-07-201-0/+2
| | | | | | | | | 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>
* rust-toolchain.eclass: cosmetic cleanupsWANG Xuerui2023-07-201-30/+40
| | | | | | | | | 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>
* rust-toolchain.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-2/+2
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* rust-toolchain.eclass: drop EAPI 6, 7 supportDavid Seifert2022-12-271-5/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-1/+1
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* rust-toolchain.eclass: support EAPI=8Georgy Yakovlev2022-01-131-2/+3
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* rust: enable support for ARCH=riscv, only for riscv64/lp64dYixun Lan2021-05-131-0/+2
| | | | | Bug: https://bugs.gentoo.org/747460 Signed-off-by: Yixun Lan <dlan@gentoo.org>
* eclass/rust-toolchain.eclass: add verify-sig URI supportGeorgy Yakovlev2021-05-041-0/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: add support for arm64 musl tarballsGeorgy Yakovlev2021-04-271-2/+3
| | | | | Bug: https://bugs.gentoo.org/771006 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: add aarch64-*-musl target supportGeorgy Yakovlev2021-02-111-1/+2
| | | | | Bug: https://bugs.gentoo.org/767451 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: add multilib support on amd64Georgy Yakovlev2020-04-241-14/+14
| | | | | Bug: https://bugs.gentoo.org/701362 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* */*: Bump copyright on files touched this yearMichał Górny2020-02-111-1/+1
| | | | | | | Update the copyright notice on all files that were touched since January 1st but did not have the notice updated. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* rust-toolchain.eclass: add basic musl support on amd64Georgy Yakovlev2020-01-281-2/+4
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* rust-toolchain.eclass: fix whitespaceGeorgy Yakovlev2020-01-181-35/+35
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: update @SUPPORTED_EAPISGeorgy Yakovlev2019-05-241-1/+1
| | | | | | it actually supports 7, just was omitted from SUPPORTED_EAPIS Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* rust-toolchain.eclass: [QA] Typo in eclass documentation.Ulrich Müller2019-03-131-2/+2
| | | | | Bug: https://bugs.gentoo.org/679930 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/rust-toolchain: switch back to tar.xz for sourcesstefson2018-10-191-2/+2
| | | | | Signed-off-by: Steffen Kuhn <nielson2@yandex.com> Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
* eclass: add rust-toolchain.eclassDirkjan Ochtman2018-10-181-0/+120
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>