Skip to content

Commit 26105a4

Browse files
committed
Auto merge of #10109 - hi-rustin:rustin-patch-docs-profile, r=ehuss
Description of the targets that can be applied close #9806 Adds a description of the targets to which the default profile can be applied.
2 parents c5fddb0 + c066a23 commit 26105a4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/doc/src/reference/profiles.md

+7
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)