aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-06-22 09:56:11 -0700
committerDylan Baker <dylan@pnwbakers.com>2023-06-27 11:53:18 -0700
commit5d16bd5308f0edd9d53b82ff6a961241c7188423 (patch)
tree7f10cb909d47e18479dd824d25c3c62cb4668cd0 /docs/markdown/snippets
parentc5b16ab8b957d53b75c73bb24144a4f61c86234d (diff)
downloadmeson-5d16bd5308f0edd9d53b82ff6a961241c7188423.zip
meson-5d16bd5308f0edd9d53b82ff6a961241c7188423.tar.gz
meson-5d16bd5308f0edd9d53b82ff6a961241c7188423.tar.bz2
modules/rust: Add a keyword argument to pass extra args to the rust compiler
This may be necessary to, for example, stop rustc complaining about unused functions
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/rust_bindegen_extra_args.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/snippets/rust_bindegen_extra_args.md b/docs/markdown/snippets/rust_bindegen_extra_args.md
new file mode 100644
index 0000000..209d0bc
--- /dev/null
+++ b/docs/markdown/snippets/rust_bindegen_extra_args.md
@@ -0,0 +1,3 @@
+## rust.bindgen allows passing extra arguments to rustc
+
+This may be necessary to pass extra `cfg`s or to change warning levels.