Open psychon opened 4 years ago
Does Rust have code coverage support?
Honest answer: I don't know. Google found https://blog.rust-lang.org/inside-rust/2020/11/12/source-based-code-coverage.html which says:
Nightly Rust already supports another kind of source code coverage, commonly called gcov, which relies on debug info to map from LLVM IR to lines of source code.
So... I guess this means that there already is support for some nightly-only kind of code coverage. (And this blog post talks about another nightly-only way being added)
The following diff does not cause
make
to fail, which means that we can remove two arguments fromemit_struct_type
:General question: Is there a simple approach to find similar cases in the code generator?