summaryrefslogtreecommitdiffstats
path: root/src/doc/man/includes/options-profile-legacy-check.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/man/includes/options-profile-legacy-check.md')
-rw-r--r--src/doc/man/includes/options-profile-legacy-check.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/doc/man/includes/options-profile-legacy-check.md b/src/doc/man/includes/options-profile-legacy-check.md
new file mode 100644
index 0000000..0ec82e6
--- /dev/null
+++ b/src/doc/man/includes/options-profile-legacy-check.md
@@ -0,0 +1,10 @@
+{{#option "`--profile` _name_" }}
+{{actionverb}} with the given profile.
+
+As a special case, specifying the `test` profile will also enable checking in
+test mode which will enable checking tests and enable the `test` cfg option.
+See [rustc tests](https://doc.rust-lang.org/rustc/tests/index.html) for more
+detail.
+
+See the [the reference](../reference/profiles.html) for more details on profiles.
+{{/option}}