Cross does not have an ARM64 platform docker image for v0.2.5 and main
metaclips opened this issue · 2 comments
There's no docker image build for aarch64-linux since Cross v0.2.5 https://github.com/cross-rs/cross/pkgs/container/aarch64-unknown-linux-gnu/68145119?tag=0.2.5 as the only supported arch are linux/amd64
and unknown/unknown
which makes building on MacOS m1 slow or having to pull back to v0.2.4.
This is a known issue, see #1214 (comment)
We've never had images for native arm64, see #751
From #1214 (comment): "For anybody else, to save you spending days looking for a solution here is how I solved it: cargo install cross --git https://github.com/cross-rs/cross
Yep, update and it worked fine for me." ... based on the upvotes, parties, and hearts, it is clear this advice has saved many people's bacon.
Alternatively, my understanding is that what Emilgardis linked above: #1214 (comment) will make cross-compilation on a macOS work even with a cargo install cross
installation.