diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-01-06 11:28:50 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-02-06 10:27:04 -0800 |
commit | b28235428df69ba0a90a8f7c0f26db8527ec68a7 (patch) | |
tree | 10df8a0b264bf493cbf7de3807e5a56a97d959ab /docs/markdown/snippets | |
parent | 9d441d26d20a8bd79edd2180160238771fe8c28d (diff) | |
download | meson-b28235428df69ba0a90a8f7c0f26db8527ec68a7.zip meson-b28235428df69ba0a90a8f7c0f26db8527ec68a7.tar.gz meson-b28235428df69ba0a90a8f7c0f26db8527ec68a7.tar.bz2 |
rust: Add a module wrapper for bindgen
This has a couple of advantages over rolling it by hand:
1. it correctly handles include_directories objects, which is always
handy
2. it correctly generates a depfile for you, which makes it more
reliable
3. it requires less typing
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/unstable-rust-module.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/markdown/snippets/unstable-rust-module.md b/docs/markdown/snippets/unstable-rust-module.md index e594ecf..87ffe33 100644 --- a/docs/markdown/snippets/unstable-rust-module.md +++ b/docs/markdown/snippets/unstable-rust-module.md @@ -1,4 +1,5 @@ ## Unstable Rust module A new unstable module has been added to make using Rust with Meson easier. -Currently it adds a single function to ease defining Rust tests. +Currently, it adds a single function to ease defining Rust tests, as well as a +wrapper around bindgen, making it easier to use. |