From 660a791e8864ac2d866db537f867986d523c185a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 21 Oct 2024 07:09:15 +0000 Subject: [PATCH] virtual/rust: Sync with Gentoo It's from Gentoo commit 39f8f74082547a2b236b9b8b1a5728098f939d21. --- .../virtual/rust/rust-1.81.0-r1.ebuild | 2 +- .../virtual/rust/rust-1.82.0.ebuild | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.82.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.81.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.81.0-r1.ebuild index 6f50c94d3e..27f1d02143 100644 --- a/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.81.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.81.0-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Virtual for Rust language compiler" # 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-18" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="rustfmt profiler" RDEPEND="|| ( diff --git a/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.82.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.82.0.ebuild new file mode 100644 index 0000000000..2f9c39eae8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/virtual/rust/rust-1.82.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build + +DESCRIPTION="Virtual for Rust language compiler" + +# 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-19" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="rustfmt profiler" + +RDEPEND="|| ( + ~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}] + ~dev-lang/rust-${PV}[profiler?,rustfmt?,${MULTILIB_USEDEP}] +)"