aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist
diff options
context:
space:
mode:
authorTim King <taking@google.com>2024-11-08 15:53:42 -0800
committerGo LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-11-14 22:20:26 +0000
commitcd35323be9e2e2fdf65e06b1a966774f2478aff8 (patch)
tree444d3c12233fbaa5d4b19085be6d1036335b71bf /src/cmd/dist
parent9fe70bcd65b1380d53d68c9653f973efe8e2657f (diff)
downloadgo-cd35323be9e2e2fdf65e06b1a966774f2478aff8.tar.xz
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>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r--src/cmd/dist/buildtool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
index 7b2b96fe00..013b769b90 100644
--- a/src/cmd/dist/buildtool.go
+++ b/src/cmd/dist/buildtool.go
@@ -73,6 +73,7 @@ var bootstrapDirs = []string{
"cmd/internal/cov/covcmd",
"internal/bisect",
"internal/buildcfg",
+ "internal/exportdata",
"internal/goarch",
"internal/godebugs",
"internal/goexperiment",