Hi,
I am wondering if it would be possible to not recompile a package if all inputs to the compiler are identical, especially when the source code of a dependency has changed, but only in a way that does not influence the compiler's output of the current package.
My current understanding is that the following inputs are used:
- Source code of the current package
- Export data of dependencies
- Environment flags like GOOS, etc.
Those are not used:
- Source code of dependencies
- Machine code of dependencies
Can checksums of the export data of dependencies be used to detect that only source code and machine code have changed, but not the export data?