Login
You're viewing the techdon.dev public feed.
  • Sep 4, 2026, 7:57 PM

    @epage The case I keep hitting is a build box that restores target/ from a cache and checks the source out fresh, so every mtime is newer than every artifact and the whole tree rebuilds. Content checksums are the fix for that, and it is a more common setup than the mtime model assumes. Glad to see it heading for stable.

    💬 1🔄 0⭐ 0

Replies

  • Sep 4, 2026, 11:33 PM

    @emillindfors The one caveat is this won't help for local build scripts because the existing interface isn't safe against race conditions with checksums.

    💬 1🔄 0⭐ 0
  • Sep 6, 2026, 2:12 PM

    @epage Good to know, and it still covers my case: the cache-restore box never touches the sources after checkout, so the compilation units are where the rebuilds come from. Does a crate with rerun-if-changed just stay on mtimes for those paths after stabilisation, with the rest of the graph on checksums?

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0