@@ -123,24 +123,24 @@ When no target selection options are given, \fBcargo bench\fR will build the
123
123
following targets of the selected packages:
124
124
.sp
125
125
.RS 4
126
- \h '-04' \(bu \h '+02 ' lib \[em ] used to link with binaries and benchmarks
126
+ \h '-04' \(bu \h '+03 ' lib \[em ] used to link with binaries and benchmarks
127
127
.RE
128
128
.sp
129
129
.RS 4
130
- \h '-04' \(bu \h '+02 ' bins (only if benchmark targets are built and required features are
130
+ \h '-04' \(bu \h '+03 ' bins (only if benchmark targets are built and required features are
131
131
available)
132
132
.RE
133
133
.sp
134
134
.RS 4
135
- \h '-04' \(bu \h '+02 ' lib as a benchmark
135
+ \h '-04' \(bu \h '+03 ' lib as a benchmark
136
136
.RE
137
137
.sp
138
138
.RS 4
139
- \h '-04' \(bu \h '+02 ' bins as benchmarks
139
+ \h '-04' \(bu \h '+03 ' bins as benchmarks
140
140
.RE
141
141
.sp
142
142
.RS 4
143
- \h '-04' \(bu \h '+02 ' benchmark targets
143
+ \h '-04' \(bu \h '+03 ' benchmark targets
144
144
.RE
145
145
.sp
146
146
The default behavior can be changed by setting the \fB bench \fR flag for the target
@@ -294,15 +294,15 @@ Specifying an output format (rather than the default) is unstable and requires
294
294
\fB \- Zunstable \- options \fR \& . Valid output formats:
295
295
.sp
296
296
.RS 4
297
- \h '-04' \(bu \h '+02 ' \fB html \fR (unstable, requires \fB \- Zunstable \- options \fR ): Write a human\- readable file \fB cargo \- timing.html \fR to the
297
+ \h '-04' \(bu \h '+03 ' \fB html \fR (unstable, requires \fB \- Zunstable \- options \fR ): Write a human\- readable file \fB cargo \- timing.html \fR to the
298
298
\fB target/cargo \- timings \fR directory with a report of the compilation. Also write
299
299
a report to the same directory with a timestamp in the filename if you want
300
300
to look at older runs. HTML output is suitable for human consumption only,
301
301
and does not provide machine\- readable timing data.
302
302
.RE
303
303
.sp
304
304
.RS 4
305
- \h '-04' \(bu \h '+02 ' \fB json \fR (unstable, requires \fB \- Zunstable \- options \fR ): Emit machine\- readable JSON
305
+ \h '-04' \(bu \h '+03 ' \fB json \fR (unstable, requires \fB \- Zunstable \- options \fR ): Emit machine\- readable JSON
306
306
information about timing information.
307
307
.RE
308
308
.RE
@@ -348,16 +348,16 @@ May also be specified with the \fBterm.quiet\fR
348
348
Control when colored output is used. Valid values:
349
349
.sp
350
350
.RS 4
351
- \h '-04' \(bu \h '+02 ' \fB auto \fR (default): Automatically detect if color support is available on the
351
+ \h '-04' \(bu \h '+03 ' \fB auto \fR (default): Automatically detect if color support is available on the
352
352
terminal.
353
353
.RE
354
354
.sp
355
355
.RS 4
356
- \h '-04' \(bu \h '+02 ' \fB always \fR : Always display colors.
356
+ \h '-04' \(bu \h '+03 ' \fB always \fR : Always display colors.
357
357
.RE
358
358
.sp
359
359
.RS 4
360
- \h '-04' \(bu \h '+02 ' \fB never \fR : Never display colors.
360
+ \h '-04' \(bu \h '+03 ' \fB never \fR : Never display colors.
361
361
.RE
362
362
.sp
363
363
May also be specified with the \fB term.color \fR
@@ -370,34 +370,34 @@ The output format for diagnostic messages. Can be specified multiple times
370
370
and consists of comma\- separated values. Valid values:
371
371
.sp
372
372
.RS 4
373
- \h '-04' \(bu \h '+02 ' \fB human \fR (default): Display in a human\- readable text format. Conflicts with
373
+ \h '-04' \(bu \h '+03 ' \fB human \fR (default): Display in a human\- readable text format. Conflicts with
374
374
\fB short \fR and \fB json \fR \& .
375
375
.RE
376
376
.sp
377
377
.RS 4
378
- \h '-04' \(bu \h '+02 ' \fB short \fR : Emit shorter, human\- readable text messages. Conflicts with \fB human \fR
378
+ \h '-04' \(bu \h '+03 ' \fB short \fR : Emit shorter, human\- readable text messages. Conflicts with \fB human \fR
379
379
and \fB json \fR \& .
380
380
.RE
381
381
.sp
382
382
.RS 4
383
- \h '-04' \(bu \h '+02 ' \fB json \fR : Emit JSON messages to stdout. See
383
+ \h '-04' \(bu \h '+03 ' \fB json \fR : Emit JSON messages to stdout. See
384
384
\fI the reference \fR <https://doc.rust\- lang.org/cargo/reference/external\- tools.html#json\- messages>
385
385
for more details. Conflicts with \fB human \fR and \fB short \fR \& .
386
386
.RE
387
387
.sp
388
388
.RS 4
389
- \h '-04' \(bu \h '+02 ' \fB json \- diagnostic \- short \fR : Ensure the \fB rendered \fR field of JSON messages contains
389
+ \h '-04' \(bu \h '+03 ' \fB json \- diagnostic \- short \fR : Ensure the \fB rendered \fR field of JSON messages contains
390
390
the \[lq ] short\[rq ] rendering from rustc. Cannot be used with \fB human \fR or \fB short \fR \& .
391
391
.RE
392
392
.sp
393
393
.RS 4
394
- \h '-04' \(bu \h '+02 ' \fB json \- diagnostic \- rendered \- ansi \fR : Ensure the \fB rendered \fR field of JSON messages
394
+ \h '-04' \(bu \h '+03 ' \fB json \- diagnostic \- rendered \- ansi \fR : Ensure the \fB rendered \fR field of JSON messages
395
395
contains embedded ANSI color codes for respecting rustc\[cq ] s default color
396
396
scheme. Cannot be used with \fB human \fR or \fB short \fR \& .
397
397
.RE
398
398
.sp
399
399
.RS 4
400
- \h '-04' \(bu \h '+02 ' \fB json \- render \- diagnostics \fR : Instruct Cargo to not include rustc diagnostics
400
+ \h '-04' \(bu \h '+03 ' \fB json \- render \- diagnostics \fR : Instruct Cargo to not include rustc diagnostics
401
401
in JSON messages printed, but instead Cargo itself should render the
402
402
JSON diagnostics coming from rustc. Cargo\[cq ] s own JSON diagnostics and others
403
403
coming from rustc are still emitted. Cannot be used with \fB human \fR or \fB short \fR \& .
@@ -423,11 +423,11 @@ existing \fBCargo.lock\fR file was originally generated. Cargo will exit with an
423
423
error when either of the following scenarios arises:
424
424
.sp
425
425
.RS 4
426
- \h '-04' \(bu \h '+02 ' The lock file is missing.
426
+ \h '-04' \(bu \h '+03 ' The lock file is missing.
427
427
.RE
428
428
.sp
429
429
.RS 4
430
- \h '-04' \(bu \h '+02 ' Cargo attempted to change the lock file due to a different dependency resolution.
430
+ \h '-04' \(bu \h '+03 ' Cargo attempted to change the lock file due to a different dependency resolution.
431
431
.RE
432
432
.sp
433
433
It may be used in environments where deterministic builds are desired,
@@ -542,11 +542,11 @@ details on environment variables that Cargo reads.
542
542
.SH "EXIT STATUS"
543
543
.sp
544
544
.RS 4
545
- \h '-04' \(bu \h '+02 ' \fB 0 \fR : Cargo succeeded.
545
+ \h '-04' \(bu \h '+03 ' \fB 0 \fR : Cargo succeeded.
546
546
.RE
547
547
.sp
548
548
.RS 4
549
- \h '-04' \(bu \h '+02 ' \fB 101 \fR : Cargo failed to complete.
549
+ \h '-04' \(bu \h '+03 ' \fB 101 \fR : Cargo failed to complete.
550
550
.RE
551
551
.SH "EXAMPLES"
552
552
.sp
0 commit comments