diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-29 16:19:55 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-04-29 20:04:22 +1000 |
| commit | f9263374fb8143c7fa1850a43759249a73415cdf (patch) | |
| tree | 3fb7a56b3dd9b8a00c04981e5390e71bd0ddef2a /src/doc/rustc | |
| parent | 5b1d58c9e2a1f0ae0b60a582525bf08b27b120ca (diff) | |
coverage: Replace boolean options with a `CoverageLevel` enum
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/instrument-coverage.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/doc/rustc/src/instrument-coverage.md b/src/doc/rustc/src/instrument-coverage.md index bbd81e7437c..32dc992c42f 100644 --- a/src/doc/rustc/src/instrument-coverage.md +++ b/src/doc/rustc/src/instrument-coverage.md @@ -348,11 +348,7 @@ $ llvm-cov report \ ## `-Z coverage-options=<options>` -This unstable option provides finer control over some aspects of coverage -instrumentation. Pass one or more of the following values, separated by commas. - -- Either `no-branch`, `branch` or `mcdc` - - `branch` enables branch coverage instrumentation and `mcdc` further enables modified condition/decision coverage instrumentation. `no-branch` disables branch coverage instrumentation, which is same as do not pass `branch` or `mcdc`. +[This unstable option is described in the Unstable Book.](../unstable-book/compiler-flags/coverage-options.html) ## Other references |
