Skip to content

Commit c066a23

Browse files
committed
Description of the targets that can be applied
Signed-off-by: hi-rustin <[email protected]>
1 parent b85ad15 commit c066a23

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/src/reference/profiles.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,13 @@ The profile used depends on the command, the command-line flags like
337337
* [`cargo bench`]: [`bench` profile](#bench)
338338
* [`cargo install`]: [`release` profile](#release)
339339

340+
The selected profile applies to all Cargo targets,
341+
including [library](./cargo-targets.md#library),
342+
[binary](./cargo-targets.md#binaries),
343+
[example](./cargo-targets.md#examples),
344+
[test](./cargo-targets.md#tests),
345+
and [benchmark](./cargo-targets.md#benchmarks).
346+
340347
The profile for specific packages can be specified with
341348
[overrides](#overrides), described below.
342349

0 commit comments

Comments
 (0)