File tree 6 files changed +10
-10
lines changed 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ the two dashes (`--`) are passed to the benchmark binaries and thus to
21
21
_libtest_ (rustc's built in unit-test and micro-benchmarking framework). If
22
22
you're passing arguments to both Cargo and the binary, the ones after `--` go
23
23
to the binary, the ones before go to Cargo. For details about libtest's
24
- arguments see the output of `cargo bench -- --help`. As an example, this will
24
+ arguments see the output of `cargo bench \ -- --help`. As an example, this will
25
25
run only the benchmark named `foo` (and skip other similarly named benchmarks
26
26
like `foobar`):
27
27
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dashes (`--`) are passed to the test binaries and thus to _libtest_ (rustc's
21
21
built in unit-test and micro-benchmarking framework). If you're passing
22
22
arguments to both Cargo and the binary, the ones after `--` go to the binary,
23
23
the ones before go to Cargo. For details about libtest's arguments see the
24
- output of `cargo test -- --help`. As an example, this will run all tests with
24
+ output of `cargo test \ -- --help`. As an example, this will run all tests with
25
25
`foo` in their name on 3 threads in parallel:
26
26
27
27
cargo test foo -- --test-threads 3
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ <h2 id="cargo_bench_description">DESCRIPTION</h2>
22
22
< em > libtest</ em > (rustc’s built in unit-test and micro-benchmarking framework). If
23
23
you’re passing arguments to both Cargo and the binary, the ones after < code > --</ code > go
24
24
to the binary, the ones before go to Cargo. For details about libtest’s
25
- arguments see the output of < code > cargo bench —  --help</ code > . As an example, this will
25
+ arguments see the output of < code > cargo bench -- --help</ code > . As an example, this will
26
26
run only the benchmark named < code > foo</ code > (and skip other similarly named benchmarks
27
27
like < code > foobar</ code > ):</ p >
28
28
</ div >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ <h2 id="cargo_test_description">DESCRIPTION</h2>
22
22
built in unit-test and micro-benchmarking framework). If you’re passing
23
23
arguments to both Cargo and the binary, the ones after < code > --</ code > go to the binary,
24
24
the ones before go to Cargo. For details about libtest’s arguments see the
25
- output of < code > cargo test —  --help</ code > . As an example, this will run all tests with
25
+ output of < code > cargo test -- --help</ code > . As an example, this will run all tests with
26
26
< code > foo</ code > in their name on 3 threads in parallel:</ p >
27
27
</ div >
28
28
< div class ="literalblock ">
Original file line number Diff line number Diff line change 2
2
.\" Title: cargo-bench
3
3
.\" Author: [see the "AUTHOR(S)" section]
4
4
.\" Generator: Asciidoctor 2.0.10
5
- .\" Date: 2019-12-05
5
+ .\" Date: 2020-01-18
6
6
.\" Manual: \ \&
7
7
.\" Source: \ \&
8
8
.\" Language: English
9
9
.\"
10
- .TH "CARGO\- BENCH" "1" "2019-12-05 " "\ \& " "\ \& "
10
+ .TH "CARGO\- BENCH" "1" "2020-01-18 " "\ \& " "\ \& "
11
11
.ie \n( .g .ds Aq \(aq
12
12
.el .ds Aq '
13
13
.ss \n[ .ss ] 0
@@ -41,7 +41,7 @@ the two dashes (\fB\-\-\fP) are passed to the benchmark binaries and thus to
41
41
\fI libtest \fP (rustc\(cq s built in unit\- test and micro\- benchmarking framework). If
42
42
you\(cq re passing arguments to both Cargo and the binary, the ones after \fB \-\- \fP go
43
43
to the binary, the ones before go to Cargo. For details about libtest\(cq s
44
- arguments see the output of \fB cargo bench \( em \-\- help \fP . As an example, this will
44
+ arguments see the output of \fB cargo bench \-\- \-\- help \fP . As an example, this will
45
45
run only the benchmark named \fB foo \fP (and skip other similarly named benchmarks
46
46
like \fB foobar \fP ):
47
47
.sp
Original file line number Diff line number Diff line change 2
2
.\" Title: cargo-test
3
3
.\" Author: [see the "AUTHOR(S)" section]
4
4
.\" Generator: Asciidoctor 2.0.10
5
- .\" Date: 2019-09-05
5
+ .\" Date: 2020-01-18
6
6
.\" Manual: \ \&
7
7
.\" Source: \ \&
8
8
.\" Language: English
9
9
.\"
10
- .TH "CARGO\- TEST" "1" "2019-09-05 " "\ \& " "\ \& "
10
+ .TH "CARGO\- TEST" "1" "2020-01-18 " "\ \& " "\ \& "
11
11
.ie \n( .g .ds Aq \(aq
12
12
.el .ds Aq '
13
13
.ss \n[ .ss ] 0
@@ -41,7 +41,7 @@ dashes (\fB\-\-\fP) are passed to the test binaries and thus to \fIlibtest\fP (r
41
41
built in unit\- test and micro\- benchmarking framework). If you\(cq re passing
42
42
arguments to both Cargo and the binary, the ones after \fB \-\- \fP go to the binary,
43
43
the ones before go to Cargo. For details about libtest\(cq s arguments see the
44
- output of \fB cargo test \( em \-\- help \fP . As an example, this will run all tests with
44
+ output of \fB cargo test \-\- \-\- help \fP . As an example, this will run all tests with
45
45
\fB foo \fP in their name on 3 threads in parallel:
46
46
.sp
47
47
.if n .RS 4
You can’t perform that action at this time.
0 commit comments