Rust: When Cargo Code Coverage Works Locally But Fails in CI
A short post to help if you run into the same issue.
TLDR: If your code coverage reports show vastly different results between local development and CI, explicitly set --engine llvm in your cargo tarpaulin command.
I recently ran into a frustration y...
hans.lhoest.eu2 min read