I\'ve tried to use kcov to get code coverage for a Rust library. I\'ve followed this tutorial to build and use kcov. The coverage seems to work, however I\'m facing a strang
There is a workaround: the RUSTFLAGS='-C link-dead-code' environment variable. Use it while building and the Rust compiler will link dead code as well: