mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
The shared release workflow cross-compiles FreeBSD aarch64 from an x86_64 VM by setting CARGO_BUILD_TARGET. package.sh ignored it: it took the arch from uname -m (the host, x86_64), read binaries from target/release, and ran the cross-built binary to print its version. Pass --target, read from target/<triple>/release, take the arch from the target, and skip the version run when cross-built.