cmd/go: list -json -cgo omits Imports in files generated by cgo #26136
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
When the -cgo flag is enabled, go list processes Go source files that import "C" and lists the resulting generated files. However, the Imports list continues to contain "C" and does not reflect the actual imports of the generated files: unsafe, runtime/cgo, syscall.
The text was updated successfully, but these errors were encountered: