mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-03 17:20:49 +00:00
* FreeBSD package.sh: package the aarch64 cross build The release workflow now cross-compiles FreeBSD aarch64 inside the x86_64 VM (storytold/craft-common-actions#50) and sets CARGO_BUILD_TARGET=aarch64-unknown-freebsd. package.sh now reads the binaries from target/<triple>/release when CARGO_BUILD_TARGET is set and names the archive after the target instead of uname -m. x86_64 packages are unchanged. Part of storytold/craft-common-actions#39. * FreeBSD package.sh: accept only FreeBSD targets, check cross-built binaries Review follow-up. CARGO_BUILD_TARGET must now be a *-unknown-freebsd triple, so a Linux or macOS target can no longer be packaged under a FreeBSD name, and it is read before uname -m, so an unsupported host does not block a valid cross build. Part of storytold/craft-common-actions#39. * FreeBSD package.sh: accept only the two supported FreeBSD targets Review follow-up. CARGO_BUILD_TARGET must be aarch64-unknown-freebsd or x86_64-unknown-freebsd, the two the release builds; anything else, including made-up triples such as aarch64-foo-unknown-freebsd, stops with exit 2. Part of storytold/craft-common-actions#39. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>