summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-10-16 16:02:28 -0700
committerDylan Baker <dylan@pnwbakers.com>2024-02-23 09:48:32 -0800
commite7f20efc8bd123bfc2c325198866850694612a23 (patch)
treef4c08b4bf94d9a429322f25a3ab9b1e1f39c539e /docs
parent9752b89100a9ffc42a6eb4a788f806958bda1107 (diff)
downloadmeson-e7f20efc8bd123bfc2c325198866850694612a23.tar.gz
modules/rust: allow setting a version constraint on bindgen
This allows us to ensure that the bindgen we're using is suitable for our purpose.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Rust-module.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md
index 0ed5410c7..11966ca8c 100644
--- a/docs/markdown/Rust-module.md
+++ b/docs/markdown/Rust-module.md
@@ -63,6 +63,7 @@ It takes the following keyword arguments
- `args`: a list of string arguments to pass to `bindgen` untouched.
- `dependencies`: a list of `Dependency` objects to pass to the underlying clang call (*since 1.0.0*)
- `language`: A literal string value of `c` or `cpp`. When set this will force bindgen to treat a source as the given language. Defaults to checking based on the input file extension. *(since 1.4.0)*
+- `bindgen_version`: a list of string version values. When set the found bindgen binary must conform to these constraints. *(since 1.4.0)*
```meson
rust = import('unstable-rust')