Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: diagnose platform-specific identifiers when building for other platforms #26967
What version of Go are you using (
changed the title
go: better error message when undefined thing exists for other platforms
Aug 13, 2018
This is a lot of work for seemingly very little benefit. The compiler would otherwise not even know those other files existed (it does not today). I'm not at all convinced the complexity-to-reward ratio is right for this. It seems like godoc.org would be a good place for that information.