diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-01-01 16:15:36 -0800 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2022-01-01 16:15:36 -0800 |
| commit | 6593fcd82498b749f5a1e187fe4b76026ab5ce8e (patch) | |
| tree | 1eff6da4e8764aa0ef7836e6e5b72b649f9f42af /src/doc/rustc | |
| parent | e14bd48476bf3d8613f6b1ac1f79d4c7010da6ac (diff) | |
| download | rust-6593fcd82498b749f5a1e187fe4b76026ab5ce8e.tar.gz rust-6593fcd82498b749f5a1e187fe4b76026ab5ce8e.zip | |
Require `-Zunstable-options` for `-C instrument-coverage=except-*` options
These options primarily exist to work around bugs, and those bugs have largely been fixed. Avoid stabilizing them, so that we don't have to support them indefinitely.
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/instrument-coverage.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc/src/instrument-coverage.md b/src/doc/rustc/src/instrument-coverage.md index 49ef2309e73..b94989161cc 100644 --- a/src/doc/rustc/src/instrument-coverage.md +++ b/src/doc/rustc/src/instrument-coverage.md @@ -318,9 +318,9 @@ $ llvm-cov report \ ## `-C instrument-coverage=<options>` - `-C instrument-coverage=all`: Instrument all functions, including unused functions and unused generics. (This is the same as `-C instrument-coverage`, with no value.) -- `-C instrument-coverage=except-unused-generics`: Instrument all functions except unused generics. -- `-C instrument-coverage=except-unused-functions`: Instrument only used (called) functions and instantiated generic functions. - `-C instrument-coverage=off`: Do not instrument any functions. (This is the same as simply not including the `-C instrument-coverage` option.) +- `-Zunstable-options -C instrument-coverage=except-unused-generics`: Instrument all functions except unused generics. +- `-Zunstable-options -C instrument-coverage=except-unused-functions`: Instrument only used (called) functions and instantiated generic functions. ## Other references |
