vp-build/common/environment/build-style/cargo.sh
Johannes 3aa797cb3a build-style cargo: move cargo config from wrksrc to home
since cargo 0.31.0 ${wrksrc}/.cargo/config is ignored for cargo install
fixes: https://github.com/void-linux/void-packages/issues/4328
2018-11-02 13:39:53 +01:00

8 lines
117 B
Bash

hostmakedepends+=" cargo"
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
export PKG_CONFIG_ALLOW_CROSS=1