]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: hwcore: add chardev symbols to integration tests
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Jan 2026 08:51:27 +0000 (09:51 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jan 2026 07:57:52 +0000 (08:57 +0100)
Even though they are not used, rustc does not elide its symbols on msys2.
This causes a linker error.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/core/meson.build

index fa1765a2302511cb6e096fe1f502e7acf64f3cd1..942ee9cdacfd03dc8c161de63f35333c2688455b 100644 (file)
@@ -73,7 +73,7 @@ test('rust-hwcore-rs-integration',
         override_options: ['rust_std=2021', 'build.rust_std=2021'],
         rust_args: ['--test'],
         install: false,
-        dependencies: [common_rs, hwcore_rs, bql_rs, migration_rs, util_rs]),
+        dependencies: [chardev_rs, common_rs, hwcore_rs, bql_rs, migration_rs, util_rs]),
     args: [
         '--test', '--test-threads', '1',
         '--format', 'pretty',