[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/14] util/error: expose Error definition to Rust code
From: |
Zhao Liu |
Subject: |
Re: [PATCH 03/14] util/error: expose Error definition to Rust code |
Date: |
Thu, 5 Jun 2025 21:31:17 +0800 |
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 <pbonzini@redhat.com>
> 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 line in a roundtrip from
> C Error to Rust and back to C.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> include/qapi/error-internal.h | 26 ++++++++++++++++++++++++++
> rust/wrapper.h | 1 +
> util/error.c | 10 +---------
> 3 files changed, 28 insertions(+), 9 deletions(-)
> create mode 100644 include/qapi/error-internal.h
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
- [PATCH v3 00/14] rust: bindings for Error, Paolo Bonzini, 2025/06/05
- [PATCH 03/14] util/error: expose Error definition to Rust code, Paolo Bonzini, 2025/06/05
- Re: [PATCH 03/14] util/error: expose Error definition to Rust code,
Zhao Liu <=
- [PATCH 01/14] subprojects: add the anyhow crate, Paolo Bonzini, 2025/06/05
- [PATCH 02/14] subprojects: add the foreign crate, Paolo Bonzini, 2025/06/05
- [PATCH 05/14] util/error: make func optional, Paolo Bonzini, 2025/06/05
- [PATCH 04/14] util/error: allow non-NUL-terminated err->src, Paolo Bonzini, 2025/06/05
- [PATCH 11/14] hpet: return errors from realize if properties are incorrect, Paolo Bonzini, 2025/06/05
- [PATCH 06/14] rust: qemu-api: add bindings to Error, Paolo Bonzini, 2025/06/05