Stabilize -Z instrument-coverage as -C instrument-coverage
Continue supporting -Z instrument-coverage for compatibility for now, but show a deprecation warning for it. Update uses and documentation to use the -C option. Move the documentation from the unstable book to stable rustc documentation.
This commit is contained in:
parent
ff94b3b12b
commit
34106f8935
23 changed files with 102 additions and 79 deletions
|
@ -1590,7 +1590,7 @@ pub enum StatementKind<'tcx> {
|
|||
/// - `Bivariant` -- no effect
|
||||
AscribeUserType(Box<(Place<'tcx>, UserTypeProjection)>, ty::Variance),
|
||||
|
||||
/// Marks the start of a "coverage region", injected with '-Zinstrument-coverage'. A
|
||||
/// Marks the start of a "coverage region", injected with '-Cinstrument-coverage'. A
|
||||
/// `Coverage` statement carries metadata about the coverage region, used to inject a coverage
|
||||
/// map into the binary. If `Coverage::kind` is a `Counter`, the statement also generates
|
||||
/// executable code, to increment a counter variable at runtime, each time the code region is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue