summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/rustdoc.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/rustdoc.md')
-rw-r--r--docs/markdown/snippets/rustdoc.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/rustdoc.md b/docs/markdown/snippets/rustdoc.md
new file mode 100644
index 000000000..b0b64aaeb
--- /dev/null
+++ b/docs/markdown/snippets/rustdoc.md
@@ -0,0 +1,6 @@
+## Meson can run "rustdoc" on Rust projects
+
+Meson now defines a `rustdoc` target if the project
+uses the Rust programming language. The target runs rustdoc on all Rust
+sources, using the `rustdoc` program from the same Rust toolchain as the
+`rustc` compiler.