Hacker News new | ask | show | jobs
by jonstewart 1297 days ago
ccache uses cryptographic hashing of file contents, in addition to matching compiler arguments, so you can be sure that the code matches.
1 comments

It uses a cryptographic hash of the _inputs_ to the compiler, but there is no way to verify that the cached artifact matches the _output_ of the compiler without actually compiling it yourself.