-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Documentation for Rustflag -Zprofile outdated. #72546
Copy link
Copy link
Closed
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-code-coverageArea: Source-based code coverage (-Cinstrument-coverage)Area: Source-based code coverage (-Cinstrument-coverage)C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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: