On Mon, Oct 21, 2024 at 04:36:24PM +0200, Paolo Bonzini wrote:
> Date: Mon, 21 Oct 2024 16:36:24 +0200
> From: Paolo Bonzini
> Subject: Re: [PATCH 08/16] rust: build tests for the qemu_api crate
>
> On Mon, Oct 21, 2024 at 4:35 PM Zhao Liu wrote:
> >
> > On Tue, Oct 1
On Mon, Oct 21, 2024 at 4:35 PM Zhao Liu wrote:
>
> On Tue, Oct 15, 2024 at 03:17:26PM +0200, Paolo Bonzini wrote:
> > Date: Tue, 15 Oct 2024 15:17:26 +0200
> > From: Paolo Bonzini
> > Subject: [PATCH 08/16] rust: build tests for the qemu_api crate
> > X-Mailer: git
On Tue, Oct 15, 2024 at 03:17:26PM +0200, Paolo Bonzini wrote:
> Date: Tue, 15 Oct 2024 15:17:26 +0200
> From: Paolo Bonzini
> Subject: [PATCH 08/16] rust: build tests for the qemu_api crate
> X-Mailer: git-send-email 2.46.2
>
> Fix some bitrot in tests.rs, and allow the unit t
On Mon, Oct 21, 2024 at 10:50 AM Zhao Liu wrote:
> > +rust.test('rust-qemu-api-tests', _qemu_api_rs)
>
> It seems the change will bring a warning for "./configure --enable-rust":
>
> WARNING: Unknown keyword argument(s) in target rust-qemu-api-tests: rust_abi,
> prelink, pic.
This is a Meson bug
On Tue, Oct 15, 2024 at 03:17:26PM +0200, Paolo Bonzini wrote:
> Date: Tue, 15 Oct 2024 15:17:26 +0200
> From: Paolo Bonzini
> Subject: [PATCH 08/16] rust: build tests for the qemu_api crate
> X-Mailer: git-send-email 2.46.2
>
> Fix some bitrot in tests.rs, and allow the unit t
Fix some bitrot in tests.rs, and allow the unit tests to be run via
"meson test".
Signed-off-by: Paolo Bonzini
---
rust/qemu-api/meson.build | 3 +++
rust/qemu-api/src/tests.rs | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/rust/qemu-api/meson.build b/rust/qemu-api/meson.