diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2021-10-21 16:04:22 +0200 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2022-01-01 15:57:35 -0800 |
| commit | 34106f89353575bd341e27b95e4e759866cd7939 (patch) | |
| tree | e1e016742b35c080d9d39949fe50e62fdacc0529 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | ff94b3b12b30d1a52d594cb48f80efa39a6029a6 (diff) | |
| download | rust-34106f89353575bd341e27b95e4e759866cd7939.tar.gz rust-34106f89353575bd341e27b95e4e759866cd7939.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
| -rw-r--r-- | compiler/rustc_mir_transform/src/coverage/debug.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/coverage/debug.rs b/compiler/rustc_mir_transform/src/coverage/debug.rs index c61ee6f7e6c..c64165163ad 100644 --- a/compiler/rustc_mir_transform/src/coverage/debug.rs +++ b/compiler/rustc_mir_transform/src/coverage/debug.rs @@ -3,7 +3,7 @@ //! //! To enable coverage, include the rustc command line option: //! -//! * `-Z instrument-coverage` +//! * `-C instrument-coverage` //! //! MIR Dump Files, with additional `CoverageGraph` graphviz and `CoverageSpan` spanview //! ------------------------------------------------------------------------------------ |
