golang/go
View on GitHubcmd/go: build cache does not check #included headers for changes
Open
#24,355 opened on Mar 12, 2018
GoCommandNeedsInvestigationhelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
go 1.10 linux/amd64
The go build and go test commands don't rebuild packages if included cgo files changed. I guess a solution would be to run the preprocessor first or disable caching for packages that use cgo altogether.