Skip to content

Commit d0ff99c

Browse files
committed
Mention that code coverage can change from release to release
As noted in the `-C instrument coverage` documentation itself, the exact format of instrumentation that rustc uses will vary from release to release as LLVM makes changes to it and it is also expected that code coverage data or metrics may change slightly from one release to another due to changes in how rustc generates code, how LLVM interprets coverage data and how we improve the coverage feature.
1 parent 9f41bc1 commit d0ff99c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/attributes/coverage-instrumentation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
The following [attributes] are used for controlling coverage instrumentation.
44

55
> **Note**: Coverage instrumentation is controlled in `rustc` with the [`-C instrument-coverage`] compiler flag.
6+
Exact specifics of how code coverage works or what code is reported in code coverage data may change from release to release.
67

78
[`-C instrument-coverage`]: ../../rustc/instrument-coverage.html
89

0 commit comments

Comments
 (0)