Skip to content

Commit

Permalink
Auto merge of #10109 - hi-rustin:rustin-patch-docs-profile, r=ehuss
Browse files Browse the repository at this point in the history
Description of the targets that can be applied

close #9806

Adds a description of the targets to which the default profile can be applied.
  • Loading branch information
bors committed Nov 29, 2021
2 parents c5fddb0 + c066a23 commit 26105a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,13 @@ The profile used depends on the command, the command-line flags like
* [`cargo bench`]: [`bench` profile](#bench)
* [`cargo install`]: [`release` profile](#release)

The selected profile applies to all Cargo targets,
including [library](./cargo-targets.md#library),
[binary](./cargo-targets.md#binaries),
[example](./cargo-targets.md#examples),
[test](./cargo-targets.md#tests),
and [benchmark](./cargo-targets.md#benchmarks).

The profile for specific packages can be specified with
[overrides](#overrides), described below.

Expand Down

0 comments on commit 26105a4

Please sign in to comment.