mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
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:
parent
5eaf4f7d2b
commit
8399fd5274
@ -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
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user