eclass/coreos-cargo: Rebuild Rust projects when Rust is updated

Trigger rebuilds when the cross-compiled libraries' slot value
changes, which uses a subset defined to the package version.
This commit is contained in:
David Michael 2018-04-24 13:44:55 -04:00
parent 5eaf4f7d2b
commit 8399fd5274

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
# @ECLASS: coreos-cargo.eclass
@ -18,7 +18,7 @@ inherit toolchain-funcs
EXPORT_FUNCTIONS src_unpack
[[ ${CATEGORY}/${PN} != dev-libs/rustlib ]] && DEPEND="|| (
dev-libs/rustlib
dev-libs/rustlib:=
dev-util/cargo
)"