try to fix dev build

This commit is contained in:
euzu
2025-10-02 12:06:27 +02:00
parent aa9d222ade
commit 962add97a8
2 changed files with 5 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:0.2.5"
[target.aarch64-unknown-linux-musl]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5"
-3
View File
@@ -123,12 +123,9 @@ for PLATFORM in "${!ARCHITECTURES[@]}"; do
cargo clean || true
fi
CROSS_IMAGE="ghcr.io/cross-rs/${ARCHITECTURE}:0.2.5"
# Use incremental compilation and enable cache-friendly flags
env RUSTFLAGS="--remap-path-prefix $HOME=~ -C incremental=/tmp/rust-incremental-${ARCHITECTURE}" \
CARGO_INCREMENTAL=1 \
CROSS_CUSTOM_IMAGE="$CROSS_IMAGE" \
cross build -p tuliprox --release --target "$ARCHITECTURE"
BINARY_PATH="${WORKING_DIR}/target/${ARCHITECTURE}/release/tuliprox"