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

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

Signed-off-by: Marc-André Lureau <marcandre.lur...@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