]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: add bindgen step as a meson dependency
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Thu, 3 Oct 2024 13:28:46 +0000 (16:28 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000 (12:32 +0200)
commit6fdc5bc173188f5e4942616b16d589500b874a15
treeab2a3691286b9d463728100c45bddc5e7b271c4d
parent1a6ef6ff624f0e485bf17210ad34d387a953b288
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>
MAINTAINERS
configure
meson.build
rust/.gitignore [new file with mode: 0644]
rust/meson.build [new file with mode: 0644]
rust/wrapper.h [new file with mode: 0644]
scripts/rust/rustc_args.py [new file with mode: 0644]