aboutsummaryrefslogtreecommitdiff
path: root/rust/meson.build
diff options
context:
space:
mode:
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>2024-10-03 16:28:46 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-10-11 12:32:17 +0200
commit6fdc5bc173188f5e4942616b16d589500b874a15 (patch)
treeab2a3691286b9d463728100c45bddc5e7b271c4d /rust/meson.build
parent1a6ef6ff624f0e485bf17210ad34d387a953b288 (diff)
downloadqemu-6fdc5bc173188f5e4942616b16d589500b874a15.zip
qemu-6fdc5bc173188f5e4942616b16d589500b874a15.tar.gz
qemu-6fdc5bc173188f5e4942616b16d589500b874a15.tar.bz2
rust: add bindgen step as a meson dependency
Add bindings_rs target for generating rust bindings to target-independent qemu C APIs. The bindings need be created before any rust crate that uses them is compiled. The bindings.rs file will end up in BUILDDIR/bindings.rs and have the same name as a target: ninja bindings.rs Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Link: https://lore.kernel.org/r/1be89a27719049b7203eaf2eca8bbb75b33f18d4.1727961605.git.manos.pitsidianakis@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/meson.build')
-rw-r--r--rust/meson.build0
1 files changed, 0 insertions, 0 deletions
diff --git a/rust/meson.build b/rust/meson.build
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/rust/meson.build