]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add go list -cgo and -export
authorRuss Cox <rsc@golang.org>
Thu, 19 Apr 2018 14:54:12 +0000 (10:54 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 7 Jun 2018 14:25:31 +0000 (14:25 +0000)
commitbaf399b02e7a17add068b185d8969a50ca2fb8a0
treebe849b0210d82eac0247dac26cdd67c337d138fd
parent5f2b4f26aa3ae79e6cfd3bd397d586d5a3ed9fec
cmd/go: add go list -cgo and -export

We want package analysis tools to be able to ask cmd/go for
cgo-translated files and for the names of files holding export
type information, instead of reinventing that logic themselves.
Allow them to do so, with the new list -cgo and -export flags.

Change-Id: I860df530d8dcc130f1f328413381b5664cc81c3b
Reviewed-on: https://go-review.googlesource.com/108156
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/go_test.go
src/cmd/go/internal/list/list.go
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/work/action.go
src/cmd/go/internal/work/buildid.go
src/cmd/go/internal/work/exec.go