You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to generate test coverage report using grcov in rust.
When I execute ~/.cargo/bin/grcov . --binary-path target/debug -s . -t html --branch --filter covered -o target/debug/coverage,
It gives an error as below: A panic occurred at /path/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grcov-0.8.19/src/producer.rs:174: Failed to open '/path/./some-file/db/user_defined'
Though ./some-file/db/user_defined file is not present in my project.
In my other rust project, it is working fine. Only in this project, I am getting this error.
I am using grcov-v0.8.19 and rust nightly-2024-02-20.
Could anyone please help me with the solution ?
The text was updated successfully, but these errors were encountered:
I am trying to generate test coverage report using grcov in rust.
When I execute
~/.cargo/bin/grcov . --binary-path target/debug -s . -t html --branch --filter covered -o target/debug/coverage
,It gives an error as below:
A panic occurred at /path/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grcov-0.8.19/src/producer.rs:174: Failed to open '/path/./some-file/db/user_defined'
Though
./some-file/db/user_defined
file is not present in my project.In my other rust project, it is working fine. Only in this project, I am getting this error.
I am using
grcov-v0.8.19
andrust nightly-2024-02-20
.Could anyone please help me with the solution ?
The text was updated successfully, but these errors were encountered: