Re: [PATCH 03/14] util/error: expose Error definition to Rust code

2025-06-05 Thread Zhao Liu
On Thu, Jun 05, 2025 at 12:15:32PM +0200, Paolo Bonzini wrote: > Date: Thu, 5 Jun 2025 12:15:32 +0200 > From: Paolo Bonzini > Subject: [PATCH 03/14] util/error: expose Error definition to Rust code > X-Mailer: git-send-email 2.49.0 > > This is used to preserve the file and l

[PATCH 03/14] util/error: expose Error definition to Rust code

2025-06-05 Thread Paolo Bonzini
This is used to preserve the file and line in a roundtrip from C Error to Rust and back to C. Signed-off-by: Paolo Bonzini --- include/qapi/error-internal.h | 26 ++ rust/wrapper.h| 1 + util/error.c | 10 +- 3 files changed, 28 i

Re: [PATCH 03/14] util/error: expose Error definition to Rust code

2025-06-02 Thread Zhao Liu
On Fri, May 30, 2025 at 10:02:55AM +0200, Paolo Bonzini wrote: > Date: Fri, 30 May 2025 10:02:55 +0200 > From: Paolo Bonzini > Subject: [PATCH 03/14] util/error: expose Error definition to Rust code > X-Mailer: git-send-email 2.49.0 > > This is used to preserve the file and l

[PATCH 03/14] util/error: expose Error definition to Rust code

2025-05-30 Thread Paolo Bonzini
This is used to preserve the file and line in a roundtrip from C Error to Rust and back to C. Signed-off-by: Paolo Bonzini --- include/qapi/error-internal.h | 26 ++ rust/wrapper.h| 1 + util/error.c | 10 +- 3 files changed, 28 i