coverage: -Zcoverage-options=branch is no longer a placeholder

This commit is contained in:
Zalathar 2024-03-13 20:53:10 +11:00
parent 5fb1f61a77
commit 060c7ce7e9
3 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ pub enum InstrumentCoverage {
/// Individual flag values controlled by `-Z coverage-options`.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct CoverageOptions {
/// Add branch coverage instrumentation (placeholder flag; not yet implemented).
/// Add branch coverage instrumentation.
pub branch: bool,
}

View File

@ -352,7 +352,7 @@ This unstable option provides finer control over some aspects of coverage
instrumentation. Pass one or more of the following values, separated by commas.
- `branch` or `no-branch`
- Placeholder for potential branch coverage support in the future.
- Enables or disables branch coverage instrumentation.
## Other references

View File

@ -5,4 +5,4 @@ This option controls details of the coverage instrumentation performed by
Multiple options can be passed, separated by commas. Valid options are:
- `branch` or `no-branch`: Placeholder for future branch coverage support.
- `branch` or `no-branch`: Enables or disables branch coverage instrumentation.