Repository navigation
Mitts v0.5.10
Source commit: dd263888f91f6a9cafc2fdb7e066c298a88b31b8.
-
A
-C linkerinRUSTFLAGSwins overtarget.<triple>.linkerand
CARGO_TARGET_<TRIPLE>_LINKER, as under Cargo. Mitts placed the configured linker
afterRUSTFLAGS, and rustc takes the last one, so with both set a binary was linked
by the configured driver (#143:RUSTFLAGS="-C linker=clang ..."linked withgcc). -
Link timing also covers a
cc-style driver named inRUSTFLAGS: Mitts runs it for
rustc, and the build summary names it with its version and the link time. A
-C linker-flavorleaves linking to rustc, untimed, as before. -
A prebuilt RISC-V 64 Linux binary (
riscv64gc-unknown-linux-gnu): the installer puts
it in place on riscv64 instead of building Mitts from crates.io. It is cross-built on
x86_64 and needs glibc 2.34 or newer. -
target/<profile>/mitts-incrementalno longer grows with every package version: a
version bump reuses the crate's incremental session instead of leaving the old one
behind, and session directories untouched for 7 days are removed (#218). -
A refused
mitts publishupload names the registry's HTTP status, its error detail and
Retry-After, ascargo publishdoes, instead of only "registry upload failed" (#220). -
Features that turn on packages
Cargo.lockdoes not hold are resolved for the build,
and the lock is left as it is, as with Cargo. With slint from git and
--features slint/mcp, a build script failed with "Active build-dependency
'pbjson-build' ... was not resolved" (#223, #143). -
The
Cargo.lockMitts writes for git packages lists two versions of a renamed crate
apart (slint'swgpu-29andwgpu-30:"wgpu 29.0.4","wgpu 30.0.2"; one bare
"wgpu"made the next build fail as ambiguous), and a git package'sdep/feat
features reach its registry dependencies (#224). -
A dependency moved from a path to the registry re-resolves
Cargo.lock, as with Cargo,
instead of stopping on the old path entry (#212), and so does a dependency added to
the manifest whose package the lock already held through another package: it was
never linked (#228). -
The build header names the Mitts version (
⚡ Mitts Build build [release] · mitts 0.5.10), so a pasted build log says which release produced it (#143). -
CONTRIBUTING.md says how to report a bug, build and test the
checkout with Mitts, and where to start; the crate has crates.io keywords and
categories (Build Utils, Command line utilities). The README is the crate page on
docs.rs, which showed an empty page for 0.5.9.
Known and not changed here: build scripts are compiled without the configured linker
and without RUSTFLAGS (#213).
No new performance benchmark result is claimed by this release.
What's Changed
Fixes
- A -C linker in RUSTFLAGS wins over target..linker, as with Cargo by @alex09x in #214
- publish: name the registry's status, detail and Retry-After when an upload is refused by @alex09x in #221
- A version bump reuses the incremental session; stale session directories are removed by @alex09x in #219
- Features that turn on packages missing from Cargo.lock are resolved in memory for the build by @alex09x in #226
- Cargo.lock fixes: renamed versions and features of git packages; re-resolve after a path-to-registry move or a new dependency held elsewhere by @alex09x in #225
Build, CI and releases
- CI: four macOS probe shards by @alex09x in #208
- The README is the crate page on docs.rs; Real projects and Windows install cancel stale PR runs by @alex09x in #230
Features
- The build header names the Mitts version by @alex09x in #215
- Prebuilt RISC-V 64 Linux release binary by @alex09x in #216
Documentation
- Cite the 0.5.9 version DOI; action examples pin v0.5.9 by @alex09x in #207
- Keep the 0.5.9 ripgrep worktree demo recording by @alex09x in #210
- CONTRIBUTING.md: how to report a bug, build and test with Mitts, where to start by @alex09x in #217
- Release 0.5.10 by @alex09x in #222
- Site: worktree guide, search metadata, docs for 0.5.9 by @alex09x in #209
Other changes
Contributors
Commits (15 of 15)
b859348slow_units_test: the app need not be the first of the slowest units (#206)6948e09CI: four macOS probe shards (#208)51e259eCite the 0.5.9 version DOI; action examples pin v0.5.9 (#207)a2170c2Keep the 0.5.9 ripgrep worktree demo recording in docs/demos (#210)45717b8A -C linker in RUSTFLAGS wins over target.<triple>.linker, as with Cargo (#214)b0bd018The build header names the Mitts version (#215)da11adfPrebuilt RISC-V 64 Linux release binary (#216)6bc1c7cCONTRIBUTING.md: reporting bugs, building and testing with Mitts, where to start (#217)66c3fc5publish: name the registry's status, detail and Retry-After when an upload is refused (#221)4e325bfA version bump reuses the incremental session; stale session directories are removed (#218) (#219)ef69cc7Release 0.5.10 (#222)aab61e2Features that turn on packages missing from Cargo.lock are resolved in memory for the build (#223) (#226)dbddcccCargo.lock fixes: renamed versions and features of git packages; re-resolve after a path-to-registry move or a new dependency held elsewhere (#225)11073c8Site: worktree guide page, canonical/Open Graph/JSON-LD, sitemap, docs regenerated for 0.5.9 (#209)dd26388The README is the crate page on docs.rs; Real projects and Windows install cancel stale PR runs (#230)
Full Changelog: v0.5.9...dd26388