File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 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
2121_libtest_ (rustc's built in unit-test and micro-benchmarking framework). If
2222you're passing arguments to both Cargo and the binary, the ones after `--` go
2323to 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
2525run only the benchmark named `foo` (and skip other similarly named benchmarks
2626like `foobar`):
2727
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
2121built in unit-test and micro-benchmarking framework). If you're passing
2222arguments to both Cargo and the binary, the ones after `--` go to the binary,
2323the 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
2525`foo` in their name on 3 threads in parallel:
2626
2727 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>
2222< em > libtest</ em > (rustc’s built in unit-test and micro-benchmarking framework). If
2323you’re passing arguments to both Cargo and the binary, the ones after < code > --</ code > go
2424to 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
2626run only the benchmark named < code > foo</ code > (and skip other similarly named benchmarks
2727like < code > foobar</ code > ):</ p >
2828</ div >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ <h2 id="cargo_test_description">DESCRIPTION</h2>
2222built in unit-test and micro-benchmarking framework). If you’re passing
2323arguments to both Cargo and the binary, the ones after < code > --</ code > go to the binary,
2424the 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
2626< code > foo</ code > in their name on 3 threads in parallel:</ p >
2727</ div >
2828< div class ="literalblock ">
Original file line number Diff line number Diff line change 22.\" Title: cargo-bench
33.\" Author: [see the "AUTHOR(S)" section]
44.\" Generator: Asciidoctor 2.0.10
5- .\" Date: 2019-12-05
5+ .\" Date: 2020-01-18
66.\" Manual: \ \&
77.\" Source: \ \&
88.\" Language: English
99.\"
10- .TH "CARGO\- BENCH" "1" "2019-12-05 " "\ \& " "\ \& "
10+ .TH "CARGO\- BENCH" "1" "2020-01-18 " "\ \& " "\ \& "
1111.ie \n( .g .ds Aq \(aq
1212.el .ds Aq '
1313.ss \n[ .ss ] 0
@@ -41,7 +41,7 @@ the two dashes (\fB\-\-\fP) are passed to the benchmark binaries and thus to
4141\fI libtest \fP (rustc\(cq s built in unit\- test and micro\- benchmarking framework). If
4242you\(cq re passing arguments to both Cargo and the binary, the ones after \fB \-\- \fP go
4343to 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
4545run only the benchmark named \fB foo \fP (and skip other similarly named benchmarks
4646like \fB foobar \fP ):
4747.sp
Original file line number Diff line number Diff line change 22.\" Title: cargo-test
33.\" Author: [see the "AUTHOR(S)" section]
44.\" Generator: Asciidoctor 2.0.10
5- .\" Date: 2019-09-05
5+ .\" Date: 2020-01-18
66.\" Manual: \ \&
77.\" Source: \ \&
88.\" Language: English
99.\"
10- .TH "CARGO\- TEST" "1" "2019-09-05 " "\ \& " "\ \& "
10+ .TH "CARGO\- TEST" "1" "2020-01-18 " "\ \& " "\ \& "
1111.ie \n( .g .ds Aq \(aq
1212.el .ds Aq '
1313.ss \n[ .ss ] 0
@@ -41,7 +41,7 @@ dashes (\fB\-\-\fP) are passed to the test binaries and thus to \fIlibtest\fP (r
4141built in unit\- test and micro\- benchmarking framework). If you\(cq re passing
4242arguments to both Cargo and the binary, the ones after \fB \-\- \fP go to the binary,
4343the 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
4545\fB foo \fP in their name on 3 threads in parallel:
4646.sp
4747.if n .RS 4
You can’t perform that action at this time.
0 commit comments