Proposal Details
Mark go/build.ArchChar(..) as deprecated. Since Go 1.5 this function always returns an error and no longer varies by architecture.
There is no alternative function for go/build.ArchChar() and new code should not use it.
Comment From: gopherbot
Change https://go.dev/cl/698418 mentions this issue: go/build: mark ArchChar() as deprecated