commit: d41e1c6c24e13225263f9567179131a849c8f618 Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org> AuthorDate: Sat Nov 18 05:34:54 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 8 11:35:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41e1c6c
virtual/rust: add 1.74.0 Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> virtual/rust/rust-1.74.0.ebuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/virtual/rust/rust-1.74.0.ebuild b/virtual/rust/rust-1.74.0.ebuild new file mode 100644 index 000000000000..6662fd2eeded --- /dev/null +++ b/virtual/rust/rust-1.74.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build + +DESCRIPTION="Virtual for Rust language compiler" + +LICENSE="" + +# adjust when rust upstream bumps internal llvm +# we do not allow multiple llvm versions in dev-lang/rust for +# neither system nor bundled, so we just hardcode it here. +SLOT="0/llvm-17" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="rustfmt" + +BDEPEND="" +RDEPEND="|| ( + ~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}] + ~dev-lang/rust-${PV}[rustfmt?,${MULTILIB_USEDEP}] +)"