Install

What it writes

Everything tare build, weigh and prove leave under target/.

Programs

FileWhat it is
target/deploy/<program>.soThe stock build. The reference in every comparison.
target/idl/<program>.jsonThe IDL, from Anchor's own IDL build.
target/tare/<program>.soThe Tare build, after the bytecode stage. The one you deploy.
target/tare/<program>.linked.soThe Tare build as linked, before the bytecode stage.

Documents

FileWritten byWhat it holds
build.jsonbuildBoth artifacts, their hashes, the Anchor version, the source, the platform tools.
dependency-graph.jsonbuildThe resolved graph the Tare build compiled against.
optimization.jsonbuildThe bytecode stage's counters and the hashes before and after.
corpus.jsonweigh, proveThe inputs both builds ran.
execution.jsonweigh, proveEvery transaction outcome on both builds.
weigh.jsonweighThe weighing.
proof.jsonproveThe proof report.

Several programs in one workspace

Each program also gets its own copies, prefixed with its name: <program>.build.json, <program>.weigh.json, <program>.proof.json and so on. The unprefixed files hold the program selected last.

Lockfiles

The lockfile each compilation resolved is kept as <program>.stock.Cargo.lock and <program>.tare.Cargo.lock, with their hashes in <program>.dependency-locks.json. Your own Cargo.lock is left as it was.