qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC v3 26/32] qga/rust: check the Rust C binding


From: marcandre . lureau
Subject: [RFC v3 26/32] qga/rust: check the Rust C binding
Date: Tue, 7 Sep 2021 16:19:37 +0400

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Compare the matching C and the Rust C ABI FFI dumps.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 qga/meson.build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/qga/meson.build b/qga/meson.build
index fd840f5c73..f2064c1874 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -96,6 +96,11 @@ if with_rust
                                            'qapi-cabi-rs',
                                            '--', '--cfg', 'QAPI_CABI'])
 
+  test('QGA CABI',
+       diff_commands,
+       args: [qga_qapi_cabi.full_path(), cargo_qga_cabi.full_path()],
+       depends: [qga_qapi_cabi, cargo_qga_cabi],
+       suite: ['qga'])
 endif
 
 qga = executable('qemu-ga', qga_ss.sources(),
-- 
2.33.0.113.g6c40894d24




reply via email to

[Prev in Thread] Current Thread [Next in Thread]