vp-build/common/environment/build-style/cargo.sh

11 lines
193 B
Bash
Raw Normal View History

2018-09-16 21:39:23 +02:00
hostmakedepends+=" cargo"
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
2018-09-16 21:39:23 +02:00
fi
# Use the config we set in do_configure
export CARGO_HOME="$wrksrc/.cargo"
export PKG_CONFIG_ALLOW_CROSS=1