]> Cypherpunks repositories - gostls13.git/commit
internal/exportdata: introduce shared library for exportdata
authorTim King <taking@google.com>
Fri, 8 Nov 2024 23:53:42 +0000 (15:53 -0800)
committerGo LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Thu, 14 Nov 2024 22:20:26 +0000 (22:20 +0000)
commitcd35323be9e2e2fdf65e06b1a966774f2478aff8
tree444d3c12233fbaa5d4b19085be6d1036335b71bf
parent9fe70bcd65b1380d53d68c9653f973efe8e2657f
internal/exportdata: introduce shared library for exportdata

Deduplicates FindPkg and FindExportData which were shared by
go/internal/gcimporter and cmd/compile/internal/importer into
a new package internal/exportdata.

This change only moves code.

Change-Id: I1daf24dd79fafbe9014b2b15671dcde46b54711e
Reviewed-on: https://go-review.googlesource.com/c/go/+/626700
Commit-Queue: Tim King <taking@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/importer/exportdata.go [deleted file]
src/cmd/compile/internal/importer/gcimporter.go
src/cmd/compile/internal/importer/gcimporter_test.go
src/cmd/dist/buildtool.go
src/go/build/deps_test.go
src/go/internal/gcimporter/exportdata.go [deleted file]
src/go/internal/gcimporter/gcimporter.go
src/go/internal/gcimporter/gcimporter_test.go
src/internal/exportdata/exportdata.go [new file with mode: 0644]
src/internal/exportdata/support.go [new file with mode: 0644]