mirror of
https://github.com/storytold/craft-common-actions.git
synced 2026-11-03 17:29:08 +00:00
aarch64-unknown-freebsd is a tier-3 Rust target, so rustup publishes no toolchain for it: since the multiarch matrix (#17), every FreeBSD aarch64 job stopped in `prepare` with "installer for platform 'aarch64-unknown-freebsd' not found". The aarch64 leg now installs FreeBSD's lang/rust package (1.98.1 on FreeBSD 15) and x86_64 keeps rustup; `$HOME/.cargo/env`, which only rustup writes, is sourced only when present. Applied to both freebsd.yml and release.yml. Tests check that each architecture picks its installer and that the run step works without a rustup environment; both fail on the previous workflows. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>