x/build/internal/installer/darwinpkg: make the darwin/amd64 installer warn the user or fail when running on arm64 #59010
Labels
Builders
x/build issues (builders, bots, dashboards)
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
The download website makes it easy for all macOS users, even the ones running on Apple Silicon, to download the amd64 package. This is #52487.
As described in #52487 (comment), this mostly works, and users can go on quite a while not realizing that they're running the Go toolchain under emulation (and producing amd64 binaries which are also running under emulation). The problems that eventually arise can be very subtle.
Besides fixing the website download links, we should consider making the amd64 installer refuse to run on arm64 chips or at least warn the user that they are not installing the correct package for their architecture.
The text was updated successfully, but these errors were encountered: