Upgrade the pinned nightly and fix coverage on it
rust-toolchain.toml pins nightly-2026-03-26, with the comment "later versions break llvm-cov, need to investigate". The pin was set in c7e7f98e9 and the investigation never happened, so the workspace is over seven months behind. Move to a current nightly and make coverage work on it.
T-1dhk8ac depends on this: dylint lints have to build on the workspace's own toolchain, not a second nightly.
Coverage today
cargo-llvm-covis pinned at 0.8.7 (llvm_cov_versionin thejustfile).just coverageandcoverage-cirun without--branch; thejustfilecarriesFIXME: Branch coverage seems to have broken recently?.- CI uploads
lcov.infoto Coveralls.
What exactly broke on later nightlies isn't recorded. Start by reproducing it.
Steps
- Bump the nightly and run
just coveragewith the currentcargo-llvm-cov. It may already be fixed upstream in either. - If it still fails, record the failure here, check
cargo-llvm-cov's and rustc's issue trackers, and fix or work around it. - Try
--branchagain while there. - Fix whatever the new nightly's rustc and clippy report, and update anything else tied to the toolchain (
rust-analyzer,llvm-tools, CI caches).
Remove the llvm-cov workaround comment from rust-toolchain.toml once coverage runs cleanly on the new nightly.