diff --git a/sdk_container/src/third_party/coreos-overlay/virtual/rust/metadata.xml b/sdk_container/src/third_party/coreos-overlay/virtual/rust/metadata.xml new file mode 100644 index 0000000000..f51288e196 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/virtual/rust/metadata.xml @@ -0,0 +1,12 @@ + + + + + rust@gentoo.org + Rust Project + + + Install rustfmt, Rust code formatter + + + diff --git a/sdk_container/src/third_party/coreos-overlay/virtual/rust/rust-1.59.0.ebuild b/sdk_container/src/third_party/coreos-overlay/virtual/rust/rust-1.59.0.ebuild new file mode 100644 index 0000000000..8de903f382 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/virtual/rust/rust-1.59.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2022 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="" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="rustfmt" + +BDEPEND="" +RDEPEND="|| ( + ~dev-lang/rust-${PV}[rustfmt?,${MULTILIB_USEDEP}] + ~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}] +)"