For any identity imports to be added to the import map of a package, make sure these are not already in there. If the package imports "C", be sure not to overwrite the import map entries for "runtime/cgo", "unsafe", and "syscall". Test the import map when test variants are loaded. This tests the fix in 'go list' made by https://golang.org/cl/128836 Fixes golang/go#26847 Change-Id: I05dff4d3a75fab03f333f6d88128de6a6bf169e6 Reviewed-on: https://go-review.googlesource.com/128876 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> |
||
|---|---|---|
| .. | ||
| ast/astutil | ||
| buildutil | ||
| callgraph | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types/typeutil | ||
| vcs | ||