mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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]
|
# [build]
|
||||||
# jobs = $XBPS_MAKEJOBS
|
# jobs = $XBPS_MAKEJOBS
|
||||||
export CARGO_BUILD_JOBS="$XBPS_MAKEJOBS"
|
export CARGO_BUILD_JOBS="$XBPS_MAKEJOBS"
|
||||||
|
export CARGO_HOME="/host/cargo"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Define equivalent of TOML config in environment
|
# Define equivalent of TOML config in environment
|
||||||
|
|
Loading…
Add table
Reference in a new issue