Closed SichangHe closed 1 year ago
Take this up with whoever's packaging cargo-update for cargo-binstall – i.e. not me, for pretty much exactly this reason; cf. #195. I don't own the macintosh, but I think cargo-binstall should write the URL for the source it's downloading the binary from, so may be a good idea to start there.
I had a similar problem, inspecting debug logs it turns out cargo-update downloads the x86_64 binaries, even though I am on an M1. Is this fallback desired behaviour?
If by that you mean that the darwin aarch64 binaries are actually amd64, then forward this to whoever's packaging cargo-update for cargo-binstall.
If you mean that cargo-binstall is just installing an amd64 package, then forward this to cargo-binstall.
It's the latter. Thanks for clarifying. Looks like it's already an issue there. https://github.com/cargo-bins/cargo-binstall/issues/857
Fixed in cargo-binstall.
This happens if I use
cargo-binstall
to installcargo-update
, which pulls the binary from the release.If I compile
cargo-update
myself, I have no such problem.I suppose the reason is that the release is built on a later macOS than mine (12.6) which caused the incompatibility.