cargo-llvm-cov
cargo-llvm-cov copied to clipboard
warning: N functions have mismatched data
Hello 👋🏾
I'm running some coverage check locally and I got a warning about mismatched data
.
❯ cargo llvm-cov --open
running 5 tests
test mime::tests::check_mime_str ... ok
...
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
warning: 1 functions have mismatched data
How can I find out the function with mismatched data?
I tried running in verbose mode but it didn't help.
Thanks
There is no way to show the affected code at this time, but the warning here probably has been fixed in v0.6.7 (https://github.com/taiki-e/cargo-llvm-cov/pull/354). Could you recheck this with v0.6.7?
Hey! thanks first of all for this nice tool. I have the same issue here after running:
cargo llvm-cov --all-features --workspace --html --output-dir=target/llvm-cov/html
Error:
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 89.12s
warning: 4 functions have mismatched data
Finished report saved to target/llvm-cov/html/html
I am using the recent version.
cargo llvm-cov --version
cargo-llvm-cov 0.6.7
Thanks!