Documentation for Rustflag -Zprofile outdated. #72546
Labels
A-code-coverage
Area: Source-based code coverage (-Cinstrument-coverage)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried building this hello world example with profiling enabled documented here.
I expected to see this happen: The Hello world demo should get built with gcov profiling.
Instead, this happened: Building failed since incremental compiling is enabled by default and I don't know how to turn it off. I deleted the target directory that was created, ran cargo clean and repeated and got the same error again.
I believe the documentation should be updated with a working example.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: