rules_rust
rules_rust copied to clipboard
[bug] only generate rust libraries with coverage instrumentation only when coverage is enabled
Currently, binaries produced by rust_binary generate profraw files which means the binary is built with code coverage instrumentation with bazel build. We should only generate coverage with bazel coverage. This PR fixes this bug