x/tools/go/packages: binary built with Go 1.11.1 but running with Go 1.10.4 can't import C #29595
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
When I compile a program that uses go/packages with Go 1.11.1, but then run the program so that it shells out to a Go 1.10.4, then importing packages that use cgo fails.
This is surprising, since all version-specific behaviour in go/packages should be dynamically decided at runtime, not at compile time. Wiping
~/.cache/go-build
has no effect, either./cc @matloob @ianthehat @mvdan
The text was updated successfully, but these errors were encountered: