Skip to content

Commit 51a437d

Browse files
committed
Auto merge of #9189 - weihanglo:issue-9137, r=ehuss
Document the default location where cargo install emitting build artifacts Resolves #9137 Document the default location where `cargo install` emitting build artifacts.
2 parents 3705519 + a706292 commit 51a437d

29 files changed

+77
-55
lines changed

src/doc/man/cargo-install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# cargo-install(1)
22
{{*set actionverb="Install"}}
3+
{{*set temp-target-dir=true}}
34

45
## NAME
56

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,11 @@ OPTIONS
190190
also be specified with the CARGO_TARGET_DIR environment variable, or
191191
the build.target-dir config value
192192
<https://doc.rust-lang.org/cargo/reference/config.html>. Defaults to
193-
target in the root of the workspace.
193+
a new temporary folder located in the temporary directory of the
194+
platform.
195+
196+
When using --path, by default it will use target directory in the
197+
workspace of the local crate unless --target-dir is specified.
194198

195199
--debug
196200
Build with the dev profile instead the release profile.
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{{#option "`--target-dir` _directory_"}}
22
Directory for all generated artifacts and intermediate files. May also be
33
specified with the `CARGO_TARGET_DIR` environment variable, or the
4-
`build.target-dir` [config value](../reference/config.html). Defaults
5-
to `target` in the root of the workspace.
4+
`build.target-dir` [config value](../reference/config.html).
5+
{{#if temp-target-dir}} Defaults to a new temporary folder located in the
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.
11+
{{else}} Defaults to `target` in the root of the workspace.
12+
{{/if}}
613
{{/option}}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ target artifacts are placed in a separate directory. See the
250250
<dt class="option-term" id="option-cargo-bench---target-dir"><a class="option-anchor" href="#option-cargo-bench---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
251251
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
252252
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
253-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
254-
to <code>target</code> in the root of the workspace.</dd>
253+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
254+
Defaults to <code>target</code> in the root of the workspace.</dd>
255255

256256

257257
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ selection.</dd>
196196
<dt class="option-term" id="option-cargo-build---target-dir"><a class="option-anchor" href="#option-cargo-build---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
197197
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
198198
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
199-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
200-
to <code>target</code> in the root of the workspace.</dd>
199+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
200+
Defaults to <code>target</code> in the root of the workspace.</dd>
201201

202202

203203

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ used.</dd>
210210
<dt class="option-term" id="option-cargo-check---target-dir"><a class="option-anchor" href="#option-cargo-check---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
211211
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
212212
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
213-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
214-
to <code>target</code> in the root of the workspace.</dd>
213+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
214+
Defaults to <code>target</code> in the root of the workspace.</dd>
215215

216216

217217
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ the target directory.</dd>
4747
<dt class="option-term" id="option-cargo-clean---target-dir"><a class="option-anchor" href="#option-cargo-clean---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
4848
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
4949
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
50-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
51-
to <code>target</code> in the root of the workspace.</dd>
50+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
51+
Defaults to <code>target</code> in the root of the workspace.</dd>
5252

5353

5454

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ selection.</dd>
167167
<dt class="option-term" id="option-cargo-doc---target-dir"><a class="option-anchor" href="#option-cargo-doc---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
168168
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
169169
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
170-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
171-
to <code>target</code> in the root of the workspace.</dd>
170+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
171+
Defaults to <code>target</code> in the root of the workspace.</dd>
172172

173173

174174
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ used.</dd>
270270
<dt class="option-term" id="option-cargo-fix---target-dir"><a class="option-anchor" href="#option-cargo-fix---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
271271
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
272272
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
273-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
274-
to <code>target</code> in the root of the workspace.</dd>
273+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
274+
Defaults to <code>target</code> in the root of the workspace.</dd>
275275

276276

277277
</dl>

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# cargo-install(1)
22

33

4+
45
## NAME
56

67
cargo-install - Build and install a Rust binary
@@ -215,8 +216,12 @@ target artifacts are placed in a separate directory. See the
215216
<dt class="option-term" id="option-cargo-install---target-dir"><a class="option-anchor" href="#option-cargo-install---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
216217
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
217218
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
218-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
219-
to <code>target</code> in the root of the workspace.</dd>
219+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
220+
Defaults to a new temporary folder located in the
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>
220225

221226

222227

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ target artifacts are placed in a separate directory. See the
8888
<dt class="option-term" id="option-cargo-package---target-dir"><a class="option-anchor" href="#option-cargo-package---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
8989
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
9090
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
91-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
92-
to <code>target</code> in the root of the workspace.</dd>
91+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
92+
Defaults to <code>target</code> in the root of the workspace.</dd>
9393

9494

9595

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ target artifacts are placed in a separate directory. See the
9696
<dt class="option-term" id="option-cargo-publish---target-dir"><a class="option-anchor" href="#option-cargo-publish---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
9797
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
9898
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
99-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
100-
to <code>target</code> in the root of the workspace.</dd>
99+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
100+
Defaults to <code>target</code> in the root of the workspace.</dd>
101101

102102

103103

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ selection.</dd>
114114
<dt class="option-term" id="option-cargo-run---target-dir"><a class="option-anchor" href="#option-cargo-run---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
115115
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
116116
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
117-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
118-
to <code>target</code> in the root of the workspace.</dd>
117+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
118+
Defaults to <code>target</code> in the root of the workspace.</dd>
119119

120120

121121
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ selection.</dd>
183183
<dt class="option-term" id="option-cargo-rustc---target-dir"><a class="option-anchor" href="#option-cargo-rustc---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
184184
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
185185
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
186-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
187-
to <code>target</code> in the root of the workspace.</dd>
186+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
187+
Defaults to <code>target</code> in the root of the workspace.</dd>
188188

189189

190190
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ selection.</dd>
196196
<dt class="option-term" id="option-cargo-rustdoc---target-dir"><a class="option-anchor" href="#option-cargo-rustdoc---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
197197
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
198198
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
199-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
200-
to <code>target</code> in the root of the workspace.</dd>
199+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
200+
Defaults to <code>target</code> in the root of the workspace.</dd>
201201

202202

203203
</dl>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ selection.</dd>
276276
<dt class="option-term" id="option-cargo-test---target-dir"><a class="option-anchor" href="#option-cargo-test---target-dir"></a><code>--target-dir</code> <em>directory</em></dt>
277277
<dd class="option-desc">Directory for all generated artifacts and intermediate files. May also be
278278
specified with the <code>CARGO_TARGET_DIR</code> environment variable, or the
279-
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>. Defaults
280-
to <code>target</code> in the root of the workspace.</dd>
279+
<code>build.target-dir</code> <a href="../reference/config.html">config value</a>.
280+
Defaults to <code>target</code> in the root of the workspace.</dd>
281281

282282

283283
</dl>

src/etc/man/cargo-bench.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ target artifacts are placed in a separate directory. See the
253253
.RS 4
254254
Directory for all generated artifacts and intermediate files. May also be
255255
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
256-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
257-
to \fBtarget\fR in the root of the workspace.
256+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
257+
Defaults to \fBtarget\fR in the root of the workspace.
258258
.RE
259259
.SS "Display Options"
260260
By default the Rust test harness hides output from benchmark execution to keep

src/etc/man/cargo-build.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ selection.
181181
.RS 4
182182
Directory for all generated artifacts and intermediate files. May also be
183183
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
184-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
185-
to \fBtarget\fR in the root of the workspace.
184+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
185+
Defaults to \fBtarget\fR in the root of the workspace.
186186
.RE
187187
.sp
188188
\fB\-\-out\-dir\fR \fIdirectory\fR

src/etc/man/cargo-check.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ used.
195195
.RS 4
196196
Directory for all generated artifacts and intermediate files. May also be
197197
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
198-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
199-
to \fBtarget\fR in the root of the workspace.
198+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
199+
Defaults to \fBtarget\fR in the root of the workspace.
200200
.RE
201201
.SS "Display Options"
202202
.sp

src/etc/man/cargo-clean.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Clean all artifacts that were built with the \fBrelease\fR or \fBbench\fR profil
4040
.RS 4
4141
Directory for all generated artifacts and intermediate files. May also be
4242
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
43-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
44-
to \fBtarget\fR in the root of the workspace.
43+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
44+
Defaults to \fBtarget\fR in the root of the workspace.
4545
.RE
4646
.sp
4747
\fB\-\-target\fR \fItriple\fR

src/etc/man/cargo-doc.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ selection.
146146
.RS 4
147147
Directory for all generated artifacts and intermediate files. May also be
148148
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
149-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
150-
to \fBtarget\fR in the root of the workspace.
149+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
150+
Defaults to \fBtarget\fR in the root of the workspace.
151151
.RE
152152
.SS "Display Options"
153153
.sp

src/etc/man/cargo-fix.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ used.
268268
.RS 4
269269
Directory for all generated artifacts and intermediate files. May also be
270270
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
271-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
272-
to \fBtarget\fR in the root of the workspace.
271+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
272+
Defaults to \fBtarget\fR in the root of the workspace.
273273
.RE
274274
.SS "Display Options"
275275
.sp

src/etc/man/cargo-install.1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,13 @@ target artifacts are placed in a separate directory. See the
246246
.RS 4
247247
Directory for all generated artifacts and intermediate files. May also be
248248
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
249-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
250-
to \fBtarget\fR in the root of the workspace.
249+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
250+
Defaults to a new temporary folder located in the
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.
251256
.RE
252257
.sp
253258
\fB\-\-debug\fR

src/etc/man/cargo-package.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ target artifacts are placed in a separate directory. See the
112112
.RS 4
113113
Directory for all generated artifacts and intermediate files. May also be
114114
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
115-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
116-
to \fBtarget\fR in the root of the workspace.
115+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
116+
Defaults to \fBtarget\fR in the root of the workspace.
117117
.RE
118118
.SS "Feature Selection"
119119
The feature flags allow you to control which features are enabled. When no

src/etc/man/cargo-publish.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ target artifacts are placed in a separate directory. See the
103103
.RS 4
104104
Directory for all generated artifacts and intermediate files. May also be
105105
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
106-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
107-
to \fBtarget\fR in the root of the workspace.
106+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
107+
Defaults to \fBtarget\fR in the root of the workspace.
108108
.RE
109109
.SS "Feature Selection"
110110
The feature flags allow you to control which features are enabled. When no

src/etc/man/cargo-run.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ selection.
9292
.RS 4
9393
Directory for all generated artifacts and intermediate files. May also be
9494
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
95-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
96-
to \fBtarget\fR in the root of the workspace.
95+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
96+
Defaults to \fBtarget\fR in the root of the workspace.
9797
.RE
9898
.SS "Display Options"
9999
.sp

src/etc/man/cargo-rustc.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ selection.
167167
.RS 4
168168
Directory for all generated artifacts and intermediate files. May also be
169169
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
170-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
171-
to \fBtarget\fR in the root of the workspace.
170+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
171+
Defaults to \fBtarget\fR in the root of the workspace.
172172
.RE
173173
.SS "Display Options"
174174
.sp

src/etc/man/cargo-rustdoc.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ selection.
176176
.RS 4
177177
Directory for all generated artifacts and intermediate files. May also be
178178
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
179-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
180-
to \fBtarget\fR in the root of the workspace.
179+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
180+
Defaults to \fBtarget\fR in the root of the workspace.
181181
.RE
182182
.SS "Display Options"
183183
.sp

src/etc/man/cargo-test.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ selection.
277277
.RS 4
278278
Directory for all generated artifacts and intermediate files. May also be
279279
specified with the \fBCARGO_TARGET_DIR\fR environment variable, or the
280-
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&. Defaults
281-
to \fBtarget\fR in the root of the workspace.
280+
\fBbuild.target\-dir\fR \fIconfig value\fR <https://doc.rust\-lang.org/cargo/reference/config.html>\&.
281+
Defaults to \fBtarget\fR in the root of the workspace.
282282
.RE
283283
.SS "Display Options"
284284
By default the Rust test harness hides output from test execution to keep

0 commit comments

Comments
 (0)