cmd/go: build fails when %go_import is used in SWIG interfaces #36636
Labels
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have created an empty package and a SWIG interface for it containing only
%go_import(_ "time")
.What did you expect to see?
A successful build (by doing
go build
).What did you see instead?
The build failed with the following error:
/tmp/go-build220377569/b001/_dummy_swig.go:40:8: can't find import: "time"
The text was updated successfully, but these errors were encountered: