From: Paolo Bonzini Date: Fri, 3 Oct 2025 12:31:13 +0000 (+0200) Subject: rust: do not add qemuutil to Rust crates X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02d6b8cfd30b2da0a58a67206e9e48119b815731;p=thirdparty%2Fqemu.git rust: do not add qemuutil to Rust crates 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 Signed-off-by: Paolo Bonzini --- diff --git a/rust/chardev/meson.build b/rust/chardev/meson.build index d365d8dd0f..36ada7c454 100644 --- a/rust/chardev/meson.build +++ b/rust/chardev/meson.build @@ -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]) diff --git a/rust/util/meson.build b/rust/util/meson.build index b0b75e93ff..8ad344dccb 100644 --- a/rust/util/meson.build +++ b/rust/util/meson.build @@ -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],