Open cjermain opened 2 years ago
The #[pymodule] line is the only one not covered in the repo.
#[pymodule]
https://github.com/cjermain/rust-python-coverage/blob/9ec11bffedcd3f3d9820911d33a5e5eeef06d6d7/src/lib.rs#L16
This issue tracks excluding that code from coverage, or understanding how to include it. The goal is to reach 100% coverage by being explicit about anything that should not be covered.
https://github.com/taiki-e/cargo-llvm-cov#exclude-function-from-coverage
The reason for the lack of coverage is discussed in https://github.com/rust-lang/rust/issues/84605#issuecomment-998470260.
The
#[pymodule]
line is the only one not covered in the repo.https://github.com/cjermain/rust-python-coverage/blob/9ec11bffedcd3f3d9820911d33a5e5eeef06d6d7/src/lib.rs#L16
This issue tracks excluding that code from coverage, or understanding how to include it. The goal is to reach 100% coverage by being explicit about anything that should not be covered.
https://github.com/taiki-e/cargo-llvm-cov#exclude-function-from-coverage