]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: do not add qemuutil to Rust crates
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Oct 2025 12:31:13 +0000 (14:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Nov 2025 16:13:25 +0000 (17:13 +0100)
This fails due to https://github.com/mesonbuild/meson/pull/15076.
The config-host.h file from the qemuutil dependency ends up on the
rustc command line for targets that do not use structured sources.

It will be reverted once Meson 1.9.2 is released.

Reported-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/chardev/meson.build
rust/util/meson.build

index d365d8dd0f456943aeed2bba0eecfecfa2e3844e..36ada7c454662f88ed02791d2731aec2a3dad269 100644 (file)
@@ -39,4 +39,4 @@ _chardev_rs = static_library(
   dependencies: [glib_sys_rs, common_rs, qemu_macros],
 )
 
-chardev_rs = declare_dependency(link_with: [_chardev_rs], dependencies: [chardev, qemuutil])
+chardev_rs = declare_dependency(link_with: [_chardev_rs], dependencies: [chardev])
index b0b75e93ff655266491fd1be404cf3b314b1e242..8ad344dccbdd0c6e7248ea2b65cf9372a97d00f4 100644 (file)
@@ -43,7 +43,7 @@ _util_rs = static_library(
   dependencies: [anyhow_rs, libc_rs, foreign_rs, glib_sys_rs, common_rs, qom, qemuutil],
 )
 
-util_rs = declare_dependency(link_with: [_util_rs], dependencies: [qemuutil, qom])
+util_rs = declare_dependency(link_with: [_util_rs])
 
 rust.test('rust-util-tests', _util_rs,
           dependencies: [qemuutil, qom],