We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The cmd/dist binary imports the elf package (and thus the dwarf) binary, just for one use:
elf
dwarf
case strings.Contains(out, "mips64"): file, err := elf.Open(os.Args[0]) if err != nil { fatal("failed to open %s to determine endianness: %v", os.Args[0], err) } if file.FileHeader.ByteOrder == binary.BigEndian { gohostarch = "mips64" } else { gohostarch = "mips64le" }
... for detecting the host architecture.
Can that be done cheaper?
(noticed while looking at reducing the GOROOT_BOOTSTRAP tarball size sent to builders)
Not super high priority, of course.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
CL https://golang.org/cl/21662 mentions this issue.
2e2481e
No branches or pull requests
The cmd/dist binary imports the
elf
package (and thus thedwarf
) binary, just for one use:... for detecting the host architecture.
Can that be done cheaper?
(noticed while looking at reducing the GOROOT_BOOTSTRAP tarball size sent to builders)
Not super high priority, of course.
The text was updated successfully, but these errors were encountered: