common/rust.sh: set CARGO_HOME to /host/cargo
currently cargo chaches everything in /tmp/.cargo and is not shared between masterdirs
This commit is contained in:
parent
2c6a0d79db
commit
4a967a96da
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue