diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-17 20:11:20 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-10-31 09:09:25 +1100 |
| commit | ce3e14a448e090abf494a91b87f124258c542d4c (patch) | |
| tree | 9d0af14b1e682239e125da4f4ee05e0d092ad98e /src/doc/rustc | |
| parent | 759e07f063fb8e6306ff1bdaeb70af56a878b415 (diff) | |
Remove support for `-Zprofile` (gcov-style coverage instrumentation)
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/instrument-coverage.md | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/doc/rustc/src/instrument-coverage.md b/src/doc/rustc/src/instrument-coverage.md index ed091d8fc57..41da47e9206 100644 --- a/src/doc/rustc/src/instrument-coverage.md +++ b/src/doc/rustc/src/instrument-coverage.md @@ -2,12 +2,8 @@ ## Introduction -The Rust compiler includes two code coverage implementations: - -- A GCC-compatible, gcov-based coverage implementation, enabled with `-Z profile`, which derives coverage data based on DebugInfo. -- A source-based code coverage implementation, enabled with `-C instrument-coverage`, which uses LLVM's native, efficient coverage instrumentation to generate very precise coverage data. - -This document describes how to enable and use the LLVM instrumentation-based coverage, via the `-C instrument-coverage` compiler flag. +This document describes how to enable and use LLVM instrumentation-based coverage, +via the `-C instrument-coverage` compiler flag. ## How it works |
