cmd/cgo: generated code uses aliases even in modules using Go older than 1.9 #67738
Labels
Bug
Issues describing a bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
go version devel go1.23-722d59436b Thu May 16 02:00:26 2024 +0000 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Try to
go build
What did you see happen?
What did you expect to see?
No failure.
I'm mostly filing this for the sake of documentation, as it's probably not worth fixing. I don't think it negatively impacts any real projects. Any 1.0 module can upgrade to 1.9 (or 1.21, for that matter) without risking backwards incompatible changes. Additionally, any code base targeting a Go version older than 1.9 is unlikely to be a Go module in the first place.
The text was updated successfully, but these errors were encountered: