diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-06-22 09:56:11 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-06-27 11:53:18 -0700 |
commit | 5d16bd5308f0edd9d53b82ff6a961241c7188423 (patch) | |
tree | 7f10cb909d47e18479dd824d25c3c62cb4668cd0 /docs/markdown/snippets | |
parent | c5b16ab8b957d53b75c73bb24144a4f61c86234d (diff) | |
download | meson-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.md | 3 |
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. |