From 3aa797cb3ad4e832b9b6ba3f4dd6380c09ce660f Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 2 Nov 2018 10:20:12 +0100 Subject: [PATCH] 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 --- common/build-style/cargo.sh | 10 +++++----- common/environment/build-style/cargo.sh | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/common/build-style/cargo.sh b/common/build-style/cargo.sh index 4f4809be8b..417e5a53bb 100644 --- a/common/build-style/cargo.sh +++ b/common/build-style/cargo.sh @@ -3,12 +3,11 @@ # do_configure() { - mkdir -p .cargo + mkdir -p ${HOME}/.cargo # respect makejobs, do cross stuff - cat > .cargo/config < ${HOME}/.cargo/config <