Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gcimporter: require archive files
Proposal golang/go#68898 was accepted. gcexportdata.Read now supports tip and the latest two releases. FindExportData is needed only to support Read and can thus have the same support policy. Since go1.21, the only files the compiler produces with the header "go object " are either in archive files or do not contain exportdata (cmd/asm). It is therefore safe for FindExportData to require the files to be ar files. Updates golang/go#70651 Change-Id: Iec6703da6768198524e174824b0b05f95b96db90 Reviewed-on: https://go-review.googlesource.com/c/tools/+/633115 Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Commit-Queue: Tim King <taking@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information