Skip to content

Commit b27cd47

Browse files
committed
Auto merge of #1389 - jimmycuadra:patch-1, r=alexcrichton
Add documentation for the `harness` manifest option, introduced in a658968.
2 parents 4f9bf54 + 75d80d8 commit b27cd47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/manifest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,11 @@ doc = true
425425
# If the target is meant to be a compiler plugin, this field must be set to true
426426
# for cargo to correctly compile it and make it available for all dependencies.
427427
plugin = false
428+
429+
# If set to false, `cargo test` will omit the --test flag to rustc, which stops
430+
# it from generating a test harness. This is useful when the binary being built
431+
# manages the test runner itself.
432+
harness = true
428433
```
429434

430435
# Building Dynamic or Static Libraries

0 commit comments

Comments
 (0)