Merge pull request #3195 from dm0-/rust

Automatically rebuild Rust projects when Rust is updated
This commit is contained in:
David Michael 2018-04-25 12:51:48 -04:00 committed by GitHub
commit 831282c4d8
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 2017 CoreOS, Inc. # Copyright 2017-2018 CoreOS, Inc.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=6
@ -14,7 +14,7 @@ S="${WORKDIR}/rustc-${PV}-src"
RDEPEND="!dev-lang/rust" RDEPEND="!dev-lang/rust"
SLOT="0" SLOT="0/${PVR}"
KEYWORDS="amd64 arm64" KEYWORDS="amd64 arm64"
src_configure() { src_configure() {

View File

@ -1,4 +1,4 @@
# Copyright 2017 CoreOS, Inc. # Copyright 2017-2018 CoreOS, Inc.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: coreos-cargo.eclass # @ECLASS: coreos-cargo.eclass
@ -18,7 +18,7 @@ inherit toolchain-funcs
EXPORT_FUNCTIONS src_unpack EXPORT_FUNCTIONS src_unpack
[[ ${CATEGORY}/${PN} != dev-libs/rustlib ]] && DEPEND="|| ( [[ ${CATEGORY}/${PN} != dev-libs/rustlib ]] && DEPEND="|| (
dev-libs/rustlib dev-libs/rustlib:=
dev-util/cargo dev-util/cargo
)" )"