I am writing to seek assistance regarding obtaining coverage information for my own test suite on Rustc using grcov. I have attempted the following steps but have not been successful thus far:
- I built Rustc from the source code.
- I utilized the following command:
grcov /home/trst_cov/*.profraw -s /home/rust/compiler -b /home/rust/install/bin -t html -o ./ ``` Here, `/home/trst_cov/*.profraw` was generated using the following script: ````sh /home/rust/build/x86_64-unknown-linux-gnu/stage1/bin/rustc -Cinstrument-coverage -Zprofile code.rs ```
However, the generated
./html directory only contains the
index.html file, and the Rustc source code level coverage information is missing. I am uncertain about the specific step where the issue might lie. I would greatly appreciate any guidance or suggestions on how to obtain coverage information for my own test suite on Rustc.
Thank you in advance for your attention to this matter. Your assistance would be highly valued.