git: just use --target so the target dir always includes RUST_TARGET
This commit is contained in:
@@ -48,8 +48,8 @@ do_configure() {
|
||||
NEEDS_LIBRT =
|
||||
# https://lore.kernel.org/git/xmqqr02wbtdn.fsf@gitster.g/
|
||||
CSPRNG_METHOD = getrandom
|
||||
CARGO_ARGS = --release
|
||||
RUST_TARGET_DIR = target/${XBPS_CROSS_BUILD:+${RUST_TARGET}/}release
|
||||
CARGO_ARGS = --release --target ${RUST_TARGET}
|
||||
RUST_TARGET_DIR = target/${RUST_TARGET}/release
|
||||
EOF
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
|
||||
Reference in New Issue
Block a user