Skip to content

Commit a706292

Browse files
committed
doc: generated by build-man.sh
1 parent c36e6bf commit a706292

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

src/doc/man/generated_txt/cargo-install.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ OPTIONS
193193
a new temporary folder located in the temporary directory of the
194194
platform.
195195

196+
When using --path, by default it will use target directory in the
197+
workspace of the local crate unless --target-dir is specified.
198+
196199
--debug
197200
Build with the dev profile instead the release profile.
198201

src/doc/src/commands/cargo-install.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,10 @@ target artifacts are placed in a separate directory. See the
218218
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
219219
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
220220
Defaults to a new temporary folder located in the
221-
temporary directory of the platform.</dd>
221+
temporary directory of the platform. </p>
222+
<p>When using <code>--path</code>, by default it will use <code>target</code> directory in the workspace
223+
of the local crate unless <code>--target-dir</code>
224+
is specified.</dd>
222225

223226

224227

src/etc/man/cargo-install.1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,11 @@ Directory for all generated artifacts and intermediate files. May also be
248248
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
249249
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
250250
Defaults to a new temporary folder located in the
251-
temporary directory of the platform.
251+
temporary directory of the platform.
252+
.sp
253+
When using \fB\-\-path\fR, by default it will use \fBtarget\fR directory in the workspace
254+
of the local crate unless \fB\-\-target\-dir\fR
255+
is specified.
252256
.RE
253257
.sp
254258
\fB\-\-debug\fR

0 commit comments

Comments
 (0)