-
Is it possible to get coverage report for dynamic libraries? My use case is that I'm building a sqlite extension which I compile into a shared library using:
```toml
# Cargo.toml
[lib]
crate-typ…
-
### Describe the feature
We would like to have code coverage reports for all our `zenoh-*` repos.
https://blog.rng0.io/how-to-do-code-coverage-in-rust/ has a good initial example of how to do it f…
-
I've tried to use the `cranlift` rust backend for a project that records code coverage for tests. For this I run the following command:
```sh
RUSTFLAGS="-Zcodegen-backend=cranelift" cargo +nightly…
-
## Context
The goal is to ensure security in the node before mainnet release. We want to improve the unit test base to help us achieve this goal. There is a list of criteria that we want to validat…
-
When a function is inlined, it's sometimes marked as not executed.
**To Reproduce**
```rust
fn lol() {}
pub fn uwu() {
lol();
}
#[test]
fn wow() {
uwu();
}
```
compiled usi…
-
I have a [ci](https://github.com/wcampbell0x2a/backhand/blob/f853ed50b83f1c36391fef4839cb3135cb24be0c/.github/workflows/coverage.yml#L34) job who generates coverage that also executes the binaries. T…
-
Is there a way to see the code coverage?
-
1.cargo new hello_world
2.RUSTFLAGS="-C instrument-coverage" cargo cuild
3.cd target/debug && ./hello_world
4. grcov ./target/debug --binary-path ./target/debug -s . -t html --ignore-not-existing …
-
Our codecov CI uses `grcov` with setup from before Rust started supporting `instrument-coverage` natively.
I'm going to check if we can get better coverage if we update to either use modern `grcov`…
-
It would be useful for us to have code coverage in CI, especially for the crypto backends.
Depending on what service we use, this might require some integrating the repo to an external service, e.g. …