Skip to content

Commit c36e6bf

Browse files
committed
doc(man): clarify --path influnce on target-dir
1 parent ee53210 commit c36e6bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/doc/man/includes/options-target-dir.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ Directory for all generated artifacts and intermediate files. May also be
33
specified with the `CARGO_TARGET_DIR` environment variable, or the
44
`build.target-dir` [config value](../reference/config.html).
55
{{#if temp-target-dir}} Defaults to a new temporary folder located in the
6-
temporary directory of the platform.
6+
temporary directory of the platform.
7+
8+
When using `--path`, by default it will use `target` directory in the workspace
9+
of the local crate unless `--target-dir`
10+
is specified.
711
{{else}} Defaults to `target` in the root of the workspace.
812
{{/if}}
913
{{/option}}

0 commit comments

Comments
 (0)