# 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/llvm-15"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="+rustfmt system-llvm"

BDEPEND=""
RDEPEND="|| (
	>=dev-lang/rust-1.64.0[rustfmt?,system-llvm=,${MULTILIB_USEDEP}]
)"