]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: make declaration of dependent crates more consistent
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 May 2025 07:22:20 +0000 (09:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 May 2025 17:35:55 +0000 (19:35 +0200)
commit1297b285cc3ffbd06dc3208fbecdb2d582c535dc
tree791df3138861b2f605569a570a39684d377277e6
parentdc1424319311f86449c6825ceec2364ee645a363
rust: make declaration of dependent crates more consistent

Crates like "bilge" and "libc" can be shared by more than one directory,
so declare them directly in rust/meson.build.  While at it, make their
variable names end with "_rs" and always add a subproject() statement
(as that pinpoints the error better if the subproject is missing and
cannot be downloaded).

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/meson.build
rust/meson.build
rust/qemu-api-macros/meson.build
rust/qemu-api/meson.build