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
This commit is contained in:
Johannes 2018-11-02 10:20:12 +01:00 committed by Enno Boland
parent a8f008f21c
commit 3aa797cb3a
2 changed files with 5 additions and 8 deletions

View file

@ -4,7 +4,4 @@ if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
fi
# Use the config we set in do_configure
export CARGO_HOME="$wrksrc/.cargo"
export PKG_CONFIG_ALLOW_CROSS=1