diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh index 014d0e6e22..bf6baa7fd9 100644 --- a/common/build-helper/rust.sh +++ b/common/build-helper/rust.sh @@ -2,6 +2,7 @@ # [build] # jobs = $XBPS_MAKEJOBS export CARGO_BUILD_JOBS="$XBPS_MAKEJOBS" +export CARGO_HOME="/host/cargo" if [ "$CROSS_BUILD" ]; then # Define equivalent of TOML config in environment