[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
- [RFC v3 16/32] scripts/qapi: add Rust FFI bindings generation, (continued)
- [RFC v3 16/32] scripts/qapi: add Rust FFI bindings generation, marcandre . lureau, 2021/09/07
- [RFC v3 17/32] scripts/qapi: learn to generate ABI dump for Rust FFI, marcandre . lureau, 2021/09/07
- [RFC v3 18/32] tests: generate Rust bindings, marcandre . lureau, 2021/09/07
- [RFC v3 19/32] tests: check Rust and C CABI diffs, marcandre . lureau, 2021/09/07
- [RFC v3 20/32] scripts/qapi: generate high-level Rust bindings, marcandre . lureau, 2021/09/07
- [RFC v3 22/32] qga: build qapi-cabi binary (ABI from C), marcandre . lureau, 2021/09/07
- [RFC v3 21/32] tests/rust: build a common library, checking bindings compile, marcandre . lureau, 2021/09/07
- [RFC v3 23/32] qga/rust: build and link an empty static library, marcandre . lureau, 2021/09/07
- [RFC v3 24/32] qga/rust: generate QGA QAPI types FFI bindings, marcandre . lureau, 2021/09/07
- [RFC v3 25/32] qga/rust: build a qga-cabi-rs executable (ABI from Rust), marcandre . lureau, 2021/09/07
- [RFC v3 26/32] qga/rust: check the Rust C binding,
marcandre . lureau <=
- [RFC v3 27/32] qga/rust: build high-level Rust QAPI types, marcandre . lureau, 2021/09/07
- [RFC v3 28/32] qga/rust: implement get-host-name in Rust (example), marcandre . lureau, 2021/09/07
- [RFC v3 29/32] qga/rust: implement {get,set}-vcpus in Rust (example), marcandre . lureau, 2021/09/07
- [RFC v3 30/32] tests/vm: add Rust to FreeBSD VM, marcandre . lureau, 2021/09/07
- [RFC v3 31/32] tests/vm: bump fedora VM to f32, marcandre . lureau, 2021/09/07
- [RFC v3 32/32] tests/vm: add Rust to Fedora, marcandre . lureau, 2021/09/07
- Re: [RFC v3 00/32] Rust binding for QAPI and qemu-ga QMP handler examples, Markus Armbruster, 2021/09/08