Skip to content

Mitts 0.3.8

Choose a tag to compare

@alex09x alex09x released this 27 Oct 10:04
· 462 commits to main since this release

Mitts 0.3.8 closes the second review round of the 0.3.7 changes (04118d5).

Correctness

  • A poisoned store object is refused through its named artifact too. In native mode (mitts test, check, clippy, build --native) rustc receives --extern paths under <store>/artifacts/, hardlinks to the store objects that involve no restore step. 0.3.7 re-hashed a writable object only on the restore path; the check is now shared, so an object made writable and overwritten through any link is re-hashed, removed on mismatch and resealed on match before it reaches rustc.

macOS

  • -oso_prefix covers every linked unit. The prefix is derived from the checkout that owns the target directory rustc receives, not from the linked package's own workspace root, so registry proc macros (whose manifests live in the store) and test binaries linking archives under target/build get it as well.
  • The macOS test now links a transitive crates.io crate through the checkout's deps directory, which is the path that used to be absolute; the 0.3.7 version of that test passed without the fix.

Housekeeping

  • mitts explain resolves the manifest before pointing the toolchain probe cache at the cache root, so a failing call leaves the process-wide cache root alone.

Checked

Full isolated suite green on Linux and macOS, clippy clean. The 0.3.7 benchmark series on both machines completed between the two review rounds; the numbers are in the repository's benchmark results alongside the review thread.

Install or update:

cargo install mitts --version 0.3.8 --locked

Full history: v0.3.7...v0.3.8