From e7f20efc8bd123bfc2c325198866850694612a23 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 16 Oct 2023 16:02:28 -0700 Subject: 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. --- docs/markdown/Rust-module.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') 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') -- cgit v1.2.3