Skip to content

Commit

Permalink
coverage: -Zcoverage-options=branch is no longer a placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Mar 13, 2024
1 parent ae297bf commit 1085c76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/instrument-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 1085c76

Please sign in to comment.