logoalt Hacker News

pizlonatoryesterday at 9:03 PM1 replyview on HN

My understanding: Even if everyone uses the same toolchain, but someone changes the code for a module and recompiles, then you're in UB land unless everyone who depends on that recompiles

Am I wrong?


Replies

at_compile_timeyesterday at 9:39 PM

If your key is a hash of the code and its dependencies, for a given toolchain and target, then any change to the code, its dependencies, the toolchain or target will result in a new key unique to that configuration. Though I am not familiar with these distributed caching systems so I could be overlooking something.

show 1 reply