We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f9bf54 + 75d80d8 commit b27cd47Copy full SHA for b27cd47
src/doc/manifest.md
@@ -425,6 +425,11 @@ doc = true
425
# If the target is meant to be a compiler plugin, this field must be set to true
426
# for cargo to correctly compile it and make it available for all dependencies.
427
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
433
```
434
435
# Building Dynamic or Static Libraries
0 commit comments