taiki-e / cargo-llvm-cov

Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).
Apache License 2.0
920 stars 57 forks source link

No coverage for log macros #368

Closed joaofrf closed 5 months ago

joaofrf commented 5 months ago

After running the tests even if all lines are covered my log::error!, log::debug! etc... are flagged as not covered

taiki-e commented 5 months ago

This is the same issue as https://github.com/taiki-e/cargo-llvm-cov/issues/243 and https://github.com/rust-lang/rust/issues/84892.

Closing in favor of upstream bug report (https://github.com/rust-lang/rust/issues/84892).